test suite reviews and discussions
 help / color / mirror / Atom feed
* [dts] [PATCH V1] tests/pmdrss_hash:forbidden packet
@ 2019-03-18  3:03 yaobing
  2019-03-19  2:57 ` Zhu, WenhuiX
  2019-03-24 18:39 ` Tu, Lijuan
  0 siblings, 2 replies; 3+ messages in thread
From: yaobing @ 2019-03-18  3:03 UTC (permalink / raw)
  To: dts; +Cc: yaobing

There will be some miscellaneous packetss appearing on the 
receiving port, and setting up command "set promisc all off" 
to forbidden packets.

Signed-off-by: yaobing <bingx.y.yao@intel.com>
---
 tests/TestSuite_pmdrss_hash.py | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/tests/TestSuite_pmdrss_hash.py b/tests/TestSuite_pmdrss_hash.py
index 60c9819..2daca36 100644
--- a/tests/TestSuite_pmdrss_hash.py
+++ b/tests/TestSuite_pmdrss_hash.py
@@ -483,6 +483,7 @@ class TestPmdrssHash(TestCase):
         for iptype, rsstype in iptypes.items():
             self.dut.send_expect("set verbose 8", "testpmd> ")
             self.dut.send_expect("set fwd rxonly", "testpmd> ")
+            self.dut.send_expect("set promisc all off", "testpmd> ")
             self.dut.send_expect(
                 "set nbcore %d" % (queue + 1), "testpmd> ")
 
@@ -520,6 +521,7 @@ class TestPmdrssHash(TestCase):
         for iptype, rsstype in iptypes.items():
             self.dut.send_expect("set verbose 8", "testpmd> ")
             self.dut.send_expect("set fwd rxonly", "testpmd> ")
+            self.dut.send_expect("set promisc all off", "testpmd> ")
             self.dut.send_expect(
                 "set nbcore %d" % (queue + 1), "testpmd> ")
 
@@ -565,6 +567,7 @@ class TestPmdrssHash(TestCase):
             self.logger.info("***********************%s rss test********************************" % iptype)
             self.dut.send_expect("set verbose 8", "testpmd> ")
             self.dut.send_expect("set fwd rxonly", "testpmd> ")
+            self.dut.send_expect("set promisc all off", "testpmd> ")
             self.dut.send_expect(
                 "set nbcore %d" % (queue + 1), "testpmd> ")
 
@@ -603,6 +606,7 @@ class TestPmdrssHash(TestCase):
         for iptype, rsstype in iptypes.items():
             self.dut.send_expect("set verbose 8", "testpmd> ")
             self.dut.send_expect("set fwd rxonly", "testpmd> ")
+            self.dut.send_expect("set promisc all off", "testpmd> ")
             self.dut.send_expect(
                 "set nbcore %d" % (queue + 1), "testpmd> ")
 
@@ -633,6 +637,7 @@ class TestPmdrssHash(TestCase):
                     "NIC Unsupported: " + str(self.nic))
 
         self.dut.send_expect("./%s/app/testpmd -c f -n 4 -- -i" % self.target, "testpmd> ", 120)
+        self.dut.send_expect("set promisc all off", "testpmd> ")
         out = self.dut.send_expect("create bonded device 3 0", "testpmd> ", 30)
         bond_device_id = int(re.search("port \d+", out).group().split(" ")[-1].strip())
 
-- 
2.17.2


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

end of thread, other threads:[~2019-03-24 18:39 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-03-18  3:03 [dts] [PATCH V1] tests/pmdrss_hash:forbidden packet yaobing
2019-03-19  2:57 ` Zhu, WenhuiX
2019-03-24 18:39 ` 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).