[dts] [PATCH V1]tests/qinq_filter: fix vlan case failure

han,yingya yingyax.han at intel.com
Tue Mar 20 10:36:22 CET 2018


By default vlan offload is disabled, so need enable vlan strip
offload for vlan related case. Refer to dpdk commit: 8b9bd0
Signed-off-by: han,yingya <yingyax.han at intel.com>
---
 tests/TestSuite_qinq_filter.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tests/TestSuite_qinq_filter.py b/tests/TestSuite_qinq_filter.py
index 3f9c1ac..d266212 100644
--- a/tests/TestSuite_qinq_filter.py
+++ b/tests/TestSuite_qinq_filter.py
@@ -150,6 +150,7 @@ class TestQinqFilter(TestCase):
                                --rxq=4 --txq=4  --disable-rss' % (self.target, self.coreMask, self.portMask),
                                "testpmd> ")
         self.dut.send_expect("vlan set qinq on %s" % dutRxPortId, "testpmd> ")
+        self.dut.send_expect("vlan set strip on %s" % dutRxPortId, "testpmd> ")
         self.dut.send_expect("set fwd rxonly", "testpmd> ")
         self.dut.send_expect("set verbose 1", "testpmd> ")
         self.dut.send_expect("start", "testpmd> ", 120)
-- 
1.9.3



More information about the dts mailing list