[V1] tests/TestSuite_qinq_filter:case qinq_pack_type need use novector start testpmd
Commit Message
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(-)
Comments
Tested-by: Zhou, Jun <junx.w.zhou@intel.com>
-----Original Message-----
From: Zhou Jun [mailto:junx.w.zhou@intel.com]
Sent: Thursday, December 24, 2020 4:43 PM
To: dts@dpdk.org
Cc: Zhou, JunX W <junx.w.zhou@intel.com>
Subject: [dts][PATCH V1] tests/TestSuite_qinq_filter:case qinq_pack_type need use novector start testpmd
@@ -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> ")