[dts] [PATCH] tests/l3fwdacl: try to use highest available method
Konstantin Ananyev
konstantin.ananyev at intel.com
Tue May 18 17:35:21 CEST 2021
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 at 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
More information about the dts
mailing list