test suite reviews and discussions
 help / color / mirror / Atom feed
* [dts] [PATCH V1] tests/fdir:add NIC sageville
@ 2020-04-22 15:54 Mei Jianwei
  2020-04-23  6:37 ` Tu, Lijuan
  0 siblings, 1 reply; 2+ messages in thread
From: Mei Jianwei @ 2020-04-22 15:54 UTC (permalink / raw)
  To: dts; +Cc: Mei Jianwei

add nic sageville.

Signed-off-by: Mei Jianwei <jianweix.mei@intel.com>
---
 tests/TestSuite_fdir.py | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/tests/TestSuite_fdir.py b/tests/TestSuite_fdir.py
index a7c98bd..2b34776 100644
--- a/tests/TestSuite_fdir.py
+++ b/tests/TestSuite_fdir.py
@@ -242,7 +242,7 @@ class TestFdir(TestCase, IxiaPacketGenerator):
                 self.flexbytes = '0x0,0x0,0x0,0x20,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0'
             self.payload = b'\x11\x11\x22\x22\x33\x33\x44\x44\x55\x55\x66\x66\x77\x77\x77\x77'
             self.flexlength = 16
-        elif (self.nic in ["niantic", "sagepond"]):
+        elif (self.nic in ["niantic", "sagepond", "sageville"]):
             self.flexbytes = "0x00,0x00"
             self.payload = b'\x11\x11\x22\x22\x33\x33\x44\x44\x55\x55\x66\x66\x77\x77\x77\x77'
             self.flexlength = 2
@@ -329,7 +329,7 @@ class TestFdir(TestCase, IxiaPacketGenerator):
         """
 
         self.dut.kill_all()
-        if self.nic in ["niantic", "sagepond"]:
+        if self.nic in ["niantic", "sagepond", "sageville"]:
             # Niantic ipv6 only support signature mode
             self.dut.send_expect("./%s/app/testpmd -c %s -n 4 -- -i --portmask=%s --disable-rss  --rxq=4 --txq=4 --nb-cores=4  --nb-ports=1 --pkt-filter-mode=signature" % (self.target, self.coreMask, utils.create_mask([self.dut_ports[0]])), "testpmd>", 120)
         elif self.nic in ["fortville_eagle", "fortville_spirit", "fortville_spirit_single", "fortpark_TLV", "fortpark_BASE-T","fortville_25g", "carlsville"]:
@@ -614,7 +614,7 @@ class TestFdir(TestCase, IxiaPacketGenerator):
 
         self.dut.kill_all()
         # fwd testing with flexword
-        if self.nic in ["niantic", "sagepond"]:
+        if self.nic in ["niantic", "sagepond", "sageville"]:
             # Niantic ipv6 only support signature mode
             self.dut.send_expect("./%s/app/testpmd -c %s -n 4 -- -i --portmask=%s --disable-rss  --rxq=4 --txq=4 --nb-cores=4  --nb-ports=1 --pkt-filter-mode=signature" % (self.target, self.coreMask, utils.create_mask([self.dut_ports[0]])), "testpmd>", 120)
         elif self.nic in ["fortville_eagle", "fortville_spirit", "fortville_spirit_single", "fortpark_TLV","fortpark_BASE-T", "fortville_25g", "carlsville"]:
-- 
2.18.2


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-04-23  6:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-22 15:54 [dts] [PATCH V1] tests/fdir:add NIC sageville Mei Jianwei
2020-04-23  6:37 ` Tu, Lijuan

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).