[V2] 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>
v2:
- Optimization log code.
v1:
- Change case qinq_pack_type use novector start testpmd
-----Original Message-----
From: Zhou Jun [mailto:junx.w.zhou@intel.com]
Sent: Thursday, December 24, 2020 5:10 PM
To: dts@dpdk.org
Cc: Zhou, JunX W <junx.w.zhou@intel.com>
Subject: [dts][PATCH V2] tests/TestSuite_qinq_filter:case qinq_pack_type need use novector start testpmd
Acked-by: Haiyang Zhao <haiyangx.zhao@intel.com>
Best Regards,
Zhao Haiyang
> -----Original Message-----
> From: dts <dts-bounces@dpdk.org> On Behalf Of Zhou, JunX W
> Sent: Thursday, December 24, 2020 17:12
> To: Zhou, JunX W <junx.w.zhou@intel.com>; dts@dpdk.org
> Subject: Re: [dts] [PATCH V2] tests/TestSuite_qinq_filter:case
> qinq_pack_type need use novector start testpmd
>
> Tested-by: Zhou, Jun <junx.w.zhou@intel.com>
>
> v2:
> - Optimization log code.
>
> v1:
> - Change case qinq_pack_type use novector start testpmd
>
> -----Original Message-----
> From: Zhou Jun [mailto:junx.w.zhou@intel.com]
> Sent: Thursday, December 24, 2020 5:10 PM
> To: dts@dpdk.org
> Cc: Zhou, JunX W <junx.w.zhou@intel.com>
> Subject: [dts][PATCH V2] tests/TestSuite_qinq_filter:case qinq_pack_type
> need use novector start testpmd
> case qinq_pack_type need use novector start testpmd
>
> Signed-off-by: Zhou Jun <junx.w.zhou@intel.com>
Applied with commit message changed.
@@ -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)
+ self.logger.info('\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> ")