test suite reviews and discussions
 help / color / mirror / Atom feed
* [dts] [PATCH 1/1] tests/TestSuite_vlan.py Set promisc off fastlinq adapters.
@ 2019-07-17 10:44 Yash Sharma
  2019-08-07  6:33 ` Tu, Lijuan
  0 siblings, 1 reply; 2+ messages in thread
From: Yash Sharma @ 2019-07-17 10:44 UTC (permalink / raw)
  To: dts, lijuan.tu; +Cc: shshaikh, psurana, srane, yash

From: yash <ysharma@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@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


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

end of thread, other threads:[~2019-08-07  6:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-07-17 10:44 [dts] [PATCH 1/1] tests/TestSuite_vlan.py Set promisc off fastlinq adapters Yash Sharma
2019-08-07  6:33 ` 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).