test suite reviews and discussions
 help / color / mirror / Atom feed
* [dts] [PATCH V1] tests/TestSuite_qinq_filter:case qinq_pack_type need use novector start testpmd
@ 2020-12-24  8:42 Zhou Jun
  2020-12-24  8:45 ` Zhou, JunX W
  0 siblings, 1 reply; 2+ messages in thread
From: Zhou Jun @ 2020-12-24  8:42 UTC (permalink / raw)
  To: dts; +Cc: Zhou Jun

case qinq_pack_type need use novector start testpmd

Signed-off-by: Zhou Jun <junx.w.zhou@intel.com>
---
 tests/TestSuite_qinq_filter.py | 10 ++++------
 1 file changed, 4 insertions(+), 6 deletions(-)

diff --git a/tests/TestSuite_qinq_filter.py b/tests/TestSuite_qinq_filter.py
index 2d4defde..0eb83476 100644
--- a/tests/TestSuite_qinq_filter.py
+++ b/tests/TestSuite_qinq_filter.py
@@ -40,6 +40,7 @@ Test the support of VLAN Offload Features by Poll Mode Drivers.
 from test_case import TestCase
 import utils
 import time
+from pmd_output import PmdOutput
 
 class TestQinqFilter(TestCase):
 
@@ -140,12 +141,9 @@ class TestQinqFilter(TestCase):
         """
         Enable receipt of dual VLAN packets
         """
-        
-        eal_para = self.dut.create_eal_parameters(cores='1S/2C/1T')
-        self.dut.send_expect(r'%s %s -- -i \
-                               --portmask=%s --port-topology=loop \
-                               --rxq=4 --txq=4  --disable-rss' % (self.path, eal_para, self.portMask),
-                               "testpmd> ", 30)
+        print('\r\n-------------------------this case only support novector mode to start testpmd!-------------------------\r\n')
+        pmd_out = PmdOutput(self.dut)
+        pmd_out.start_testpmd("1S/2C/1T", eal_param="--force-max-simd-bitwidth=64", param="--portmask=%s --port-topology=loop --rxq=4 --txq=4 --disable-rss" % self.portMask)
         self.dut.send_expect("vlan set extend on %s" % dutRxPortId, "testpmd> ")
         self.dut.send_expect("vlan set strip on %s" % dutRxPortId, "testpmd> ")
         self.dut.send_expect("vlan set qinq_strip on %s" % dutRxPortId, "testpmd> ")
-- 
2.17.1


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

end of thread, other threads:[~2020-12-24  8:46 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-24  8:42 [dts] [PATCH V1] tests/TestSuite_qinq_filter:case qinq_pack_type need use novector start testpmd Zhou Jun
2020-12-24  8:45 ` Zhou, JunX W

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).