* [dts] [PATCH V2] tests/TestSuite_qinq_filter:case qinq_pack_type need use novector start testpmd
@ 2020-12-24 9:10 Zhou Jun
2020-12-24 9:11 ` Zhou, JunX W
2020-12-28 7:25 ` Tu, Lijuan
0 siblings, 2 replies; 4+ messages in thread
From: Zhou Jun @ 2020-12-24 9:10 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..e19fe0f3 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)
+ 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> ")
--
2.17.1
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [dts] [PATCH V2] tests/TestSuite_qinq_filter:case qinq_pack_type need use novector start testpmd
2020-12-24 9:10 [dts] [PATCH V2] tests/TestSuite_qinq_filter:case qinq_pack_type need use novector start testpmd Zhou Jun
@ 2020-12-24 9:11 ` Zhou, JunX W
2020-12-24 9:25 ` Zhao, HaiyangX
2020-12-28 7:25 ` Tu, Lijuan
1 sibling, 1 reply; 4+ messages in thread
From: Zhou, JunX W @ 2020-12-24 9:11 UTC (permalink / raw)
To: Zhou, JunX W, dts
[-- Attachment #1: Type: text/plain, Size: 433 bytes --]
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
[-- Attachment #2: TestQinqFilter.log --]
[-- Type: application/octet-stream, Size: 208946 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [dts] [PATCH V2] tests/TestSuite_qinq_filter:case qinq_pack_type need use novector start testpmd
2020-12-24 9:11 ` Zhou, JunX W
@ 2020-12-24 9:25 ` Zhao, HaiyangX
0 siblings, 0 replies; 4+ messages in thread
From: Zhao, HaiyangX @ 2020-12-24 9:25 UTC (permalink / raw)
To: Zhou, JunX W, dts
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [dts] [PATCH V2] tests/TestSuite_qinq_filter:case qinq_pack_type need use novector start testpmd
2020-12-24 9:10 [dts] [PATCH V2] tests/TestSuite_qinq_filter:case qinq_pack_type need use novector start testpmd Zhou Jun
2020-12-24 9:11 ` Zhou, JunX W
@ 2020-12-28 7:25 ` Tu, Lijuan
1 sibling, 0 replies; 4+ messages in thread
From: Tu, Lijuan @ 2020-12-28 7:25 UTC (permalink / raw)
To: Zhou, JunX W, dts; +Cc: Zhou, JunX W
> case qinq_pack_type need use novector start testpmd
>
> Signed-off-by: Zhou Jun <junx.w.zhou@intel.com>
Applied with commit message changed.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2020-12-28 7:26 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-24 9:10 [dts] [PATCH V2] tests/TestSuite_qinq_filter:case qinq_pack_type need use novector start testpmd Zhou Jun
2020-12-24 9:11 ` Zhou, JunX W
2020-12-24 9:25 ` Zhao, HaiyangX
2020-12-28 7:25 ` 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).