From: Zhimin Huang <zhiminx.huang@intel.com>
To: dts@dpdk.org
Cc: qi.fu@intel.com, Zhimin Huang <zhiminx.huang@intel.com>
Subject: [dts] [PATCH V1 1/3] tests/TestSuite_flexible_rxd:add flexible rxid 22 case
Date: Fri, 27 Nov 2020 11:14:26 +0800 [thread overview]
Message-ID: <1606446868-1725-2-git-send-email-zhiminx.huang@intel.com> (raw)
In-Reply-To: <1606446868-1725-1-git-send-email-zhiminx.huang@intel.com>
*.add rxid 22 case into flexible_rxd suite.
Signed-off-by: Zhimin Huang <zhiminx.huang@intel.com>
---
tests/TestSuite_flexible_rxd.py | 13 ++++++++++++-
1 file changed, 12 insertions(+), 1 deletion(-)
diff --git a/tests/TestSuite_flexible_rxd.py b/tests/TestSuite_flexible_rxd.py
index 733c62e..6ce0a09 100644
--- a/tests/TestSuite_flexible_rxd.py
+++ b/tests/TestSuite_flexible_rxd.py
@@ -34,7 +34,7 @@
import time
from test_case import TestCase
from flexible_common import FlexibleRxdBase
-
+import rte_flow_common as rfc
class TestFlexibleRxd(TestCase, FlexibleRxdBase):
@@ -85,12 +85,17 @@ class TestFlexibleRxd(TestCase, FlexibleRxdBase):
self.pci = self.dut.ports_info[0]['pci']
self.dst_mac = self.dut.get_mac_address(self.dut_ports[0])
self.init_base(self.pci, self.dst_mac, 'pf')
+ self.ddp_dir = "/lib/firmware/updates/intel/ice/ddp/"
+ self.suite_config = rfc.get_suite_config(self)
+ self.os_default_pkg = self.suite_config["os_default_package_file_location"]
+ self.comms_pkg = self.suite_config["comms_package_file_location"]
def tear_down_all(self):
"""
Run after each test suite.
"""
self.restore_compilation()
+ self.replace_pkg(pkg='comms')
def set_up(self):
"""
@@ -213,3 +218,9 @@ class TestFlexibleRxd(TestCase, FlexibleRxdBase):
check ip offset with multi MPLS with 2 vlan tag
"""
self.check_ip_offset_with_multi_MPLS_with_2_vlan_tag()
+
+ def test_check_effect_replace_pkg_RXID_22_to_RXID_16(self):
+ """
+ Check replace pkg RXID #22 to RXID #16 effect of testpmd
+ """
+ self.check_effect_replace_pkg_RXID_22_to_RXID_16()
\ No newline at end of file
--
1.8.3.1
next prev parent reply other threads:[~2020-11-27 3:22 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-11-27 3:14 [dts] [PATCH V1 0/3] add " Zhimin Huang
2020-11-27 3:14 ` Zhimin Huang [this message]
2020-11-27 3:14 ` [dts] [PATCH V1 2/3] tests/flexible_common:add flexible rxid 22 common Zhimin Huang
2020-11-27 3:14 ` [dts] [PATCH V1 3/3] conf/flexible_rxd:add flexible rxid 22 conf Zhimin Huang
2020-11-27 5:25 ` [dts] [PATCH V1 0/3] add flexible rxid 22 case Huang, ZhiminX
2020-12-07 2:28 ` Fu, Qi
2020-12-07 7:19 ` Tu, Lijuan
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1606446868-1725-2-git-send-email-zhiminx.huang@intel.com \
--to=zhiminx.huang@intel.com \
--cc=dts@dpdk.org \
--cc=qi.fu@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).