From: Konstantin Ananyev <konstantin.ananyev@intel.com>
To: dts@dpdk.org
Cc: Konstantin Ananyev <konstantin.ananyev@intel.com>
Subject: [dts] [PATCH] tests/l3fwdacl: try to use highest available method
Date: Tue, 18 May 2021 16:35:21 +0100 [thread overview]
Message-ID: <20210518153521.11976-1-konstantin.ananyev@intel.com> (raw)
If DPDK version is GE then 20.11.0, then add " --force-max-simd-bitwidth=0"
EAL parameter for l3fwd-acl invocation.
It will ensure that l3fwd-acl will also use highest avaialble on
that HW ACL classify() method (unless manually ovrwritten by '--alg').
Signed-off-by: Konstantin Ananyev <konstantin.ananyev@intel.com>
---
tests/TestSuite_l3fwdacl.py | 3 +++
1 file changed, 3 insertions(+)
diff --git a/tests/TestSuite_l3fwdacl.py b/tests/TestSuite_l3fwdacl.py
index 7e0ad989..4cc51d40 100644
--- a/tests/TestSuite_l3fwdacl.py
+++ b/tests/TestSuite_l3fwdacl.py
@@ -640,6 +640,9 @@ class TestL3fwdacl(TestCase):
self.core_mask = utils.create_mask(cores)
print("Core mask: %s" % self.core_mask)
+ if self.dut.dpdk_version >= '20.11.0':
+ self.eal_para += " --force-max-simd-bitwidth=0"
+
valid_ports = [port for port in ports if self.tester.get_local_port(port) != -1]
self.verify(
len(valid_ports) >= 2, "Insufficient active dut_ports for speed testing")
--
2.26.3
next reply other threads:[~2021-05-18 15:35 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-05-18 15:35 Konstantin Ananyev [this message]
2021-05-26 8:12 ` Tu, Lijuan
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=20210518153521.11976-1-konstantin.ananyev@intel.com \
--to=konstantin.ananyev@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).