[dts] [PATCH V1] tests/vf_to_vf_nic_bridge:disable promise mode to forbid misc packets

zhang,yan yanx.a.zhang at intel.com
Mon Apr 15 05:17:38 CEST 2019


Signed-off-by: zhang,yan <yanx.a.zhang at intel.com>
---
 tests/TestSuite_vf_to_vf_nic_bridge.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/tests/TestSuite_vf_to_vf_nic_bridge.py b/tests/TestSuite_vf_to_vf_nic_bridge.py
index 356795a..920b5ab 100644
--- a/tests/TestSuite_vf_to_vf_nic_bridge.py
+++ b/tests/TestSuite_vf_to_vf_nic_bridge.py
@@ -179,7 +179,9 @@ class TestVF2VFBridge(TestCase):
         self.vm0_ports = self.vm0_dut.get_ports('any')
         self.vm0_pmd = PmdOutput(self.vm0_dut)
         self.vm0_pmd.start_testpmd('all')
+        self.vm0_pmd.execute_cmd('clear port stats all')
         self.vm0_pmd.execute_cmd('set fwd rxonly')
+        self.vm0_pmd.execute_cmd("set promisc all off")
         self.vm0_pmd.execute_cmd('start')
 
         self.vm1_ports = self.vm1_dut.get_ports('any')
-- 
2.17.2



More information about the dts mailing list