tests/l3fwdacl: try to use highest available method
Commit Message
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(+)
Comments
> -----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
@@ -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")