[dts] [PATCH 1/1] tests/TestSuite_vlan.py Set promisc off fastlinq adapters.

Yash Sharma ysharma at marvell.com
Wed Jul 17 12:44:01 CEST 2019


From: yash <ysharma at marvell.com>

Adding support for fastlinq adapters in Testsuite to set promisc off before starting the TestCase for Vlan Disable Test, Otherwise it accepts packets resulting in failure of Test.

Signed-off-by: yash <ysharma at marvell.com>
---
 tests/TestSuite_vlan.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/TestSuite_vlan.py b/tests/TestSuite_vlan.py
index c7b4b62..86e7eb5 100644
--- a/tests/TestSuite_vlan.py
+++ b/tests/TestSuite_vlan.py
@@ -75,7 +75,7 @@ class TestVlan(TestCase):
         self.dut.send_expect("set verbose 1", "testpmd> ")
         out = self.dut.send_expect("set fwd mac", "testpmd> ")
 
-        if self.nic in ["fortville_eagle", "fortville_spirit", "fortville_spirit_single", "fortpark_TLV", "fortville_25g", "hi1822"]:
+        if self.nic in ["fortville_eagle", "fortville_spirit", "fortville_spirit_single", "fortpark_TLV", "fortville_25g", "hi1822", "fastlinq_ql41000", "fastlinq_ql45000"]:
             self.dut.send_expect("vlan set filter on %s" % dutRxPortId, "testpmd> ")
             self.dut.send_expect("set promisc all off",  "testpmd> ")
 
-- 
1.8.3.1



More information about the dts mailing list