tests/unit_tests_eal: modify ACL test to enhnace test coverage
Commit Message
Modify test_acl() to run with " --force-max-simd-bitwidth=0".
That will ensure validation of all supported on given HW ACL algorithms.
Signed-off-by: Konstantin Ananyev <konstantin.ananyev@intel.com>
---
test_plans/unit_tests_eal_test_plan.rst | 4 +++-
tests/TestSuite_unit_tests_eal.py | 5 +++++
2 files changed, 8 insertions(+), 1 deletion(-)
Comments
> -----Original Message-----
> From: dts <dts-bounces@dpdk.org> On Behalf Of Konstantin Ananyev
> Sent: 2021年5月18日 1:53
> To: dts@dpdk.org
> Cc: Ananyev, Konstantin <konstantin.ananyev@intel.com>
> Subject: [dts] [PATCH] tests/unit_tests_eal: modify ACL test to enhnace test
> coverage
>
> Modify test_acl() to run with " --force-max-simd-bitwidth=0".
> That will ensure validation of all supported on given HW ACL algorithms.
>
> Signed-off-by: Konstantin Ananyev <konstantin.ananyev@intel.com>
Applied, thanks
@@ -308,7 +308,9 @@ To Be Filled
Acl
===
-To Be Filled
+Performs ACL functional validation.
+If DPDK version permits, then start with " --force-max-simd-bitwidth=0" EAL parameter.
+That will ensure validation of all supported on given HW ACL algorithms.
Link_bonding
============
@@ -460,6 +460,11 @@ class TestUnitTestsEal(TestCase):
Run acl autotest.
"""
+ eal_params = self.dut.create_eal_parameters()
+ self.test_app_cmdline += "--no-pci"
+
+ if self.dut.dpdk_version >= '20.11.0':
+ self.test_app_cmdline += " --force-max-simd-bitwidth=0"
self.dut.send_expect(self.test_app_cmdline, "R.*T.*E.*>.*>", self.start_test_time)
out = self.dut.send_expect("acl_autotest", "RTE>>", self.run_cmd_time)
self.dut.send_expect("quit", "# ")