test suite reviews and discussions
 help / color / mirror / Atom feed
* [dts] [PATCH] tests/l3fwdacl: try to use highest available method
@ 2021-05-18 15:35 Konstantin Ananyev
  2021-05-26  8:12 ` Tu, Lijuan
  0 siblings, 1 reply; 2+ messages in thread
From: Konstantin Ananyev @ 2021-05-18 15:35 UTC (permalink / raw)
  To: dts; +Cc: Konstantin Ananyev

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [dts] [PATCH] tests/l3fwdacl: try to use highest available method
  2021-05-18 15:35 [dts] [PATCH] tests/l3fwdacl: try to use highest available method Konstantin Ananyev
@ 2021-05-26  8:12 ` Tu, Lijuan
  0 siblings, 0 replies; 2+ messages in thread
From: Tu, Lijuan @ 2021-05-26  8:12 UTC (permalink / raw)
  To: Ananyev, Konstantin, dts; +Cc: Ananyev, Konstantin

> -----Original Message-----
> From: dts <dts-bounces@dpdk.org> On Behalf Of Konstantin Ananyev
> Sent: 2021年5月18日 23:35
> To: dts@dpdk.org
> Cc: Ananyev, Konstantin <konstantin.ananyev@intel.com>
> Subject: [dts] [PATCH] tests/l3fwdacl: try to use highest available method
> 
> 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>

Applied, thanks

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-05-26  8:12 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-18 15:35 [dts] [PATCH] tests/l3fwdacl: try to use highest available method Konstantin Ananyev
2021-05-26  8:12 ` 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).