From: Zhou Jun <junx.w.zhou@intel.com>
To: dts@dpdk.org
Cc: Zhou Jun <junx.w.zhou@intel.com>
Subject: [dts] [PATCH V1] tests/TestSuite_qinq_filter:case qinq_pack_type need use novector start testpmd
Date: Thu, 24 Dec 2020 16:42:56 +0800 [thread overview]
Message-ID: <20201224084256.16755-1-junx.w.zhou@intel.com> (raw)
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
next reply other threads:[~2020-12-24 8:40 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-12-24 8:42 Zhou Jun [this message]
2020-12-24 8:45 ` Zhou, JunX W
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20201224084256.16755-1-junx.w.zhou@intel.com \
--to=junx.w.zhou@intel.com \
--cc=dts@dpdk.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).