[dts] [PATCH V2] update fortvile vlan filter case FVL NIC vlan filter and promisc use same switch. So when we test vlan filter must disable promisc.

xu,huilong huilongx.xu at intel.com
Thu Aug 25 03:39:34 CEST 2016


Signed-off-by: xu,huilong <huilongx.xu at intel.com>
---
 tests/TestSuite_vlan.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tests/TestSuite_vlan.py b/tests/TestSuite_vlan.py
index 70a9813..43b025d 100644
--- a/tests/TestSuite_vlan.py
+++ b/tests/TestSuite_vlan.py
@@ -77,6 +77,7 @@ class TestVlan(TestCase):
 
         if self.nic in ["fortville_eagle", "fortville_spirit", "fortville_spirit_single", "fortpark_TLV"]:
             self.dut.send_expect("vlan set filter on %s" % dutRxPortId, "testpmd> ")
+            self.dut.send_expect("set promisc all off",  "testpmd> ")
 
         self.dut.send_expect("vlan set strip off %s" % dutRxPortId, "testpmd> ")
         self.verify('Set mac packet forwarding mode' in out, "set fwd rxonly error")
-- 
1.9.3



More information about the dts mailing list