Message ID | 20210517175253.1007-1-konstantin.ananyev@intel.com (mailing list archive) |
---|---|
State | Accepted |
Headers | show |
Series | tests/unit_tests_eal: modify ACL test to enhnace test coverage | expand |
> -----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
diff --git a/test_plans/unit_tests_eal_test_plan.rst b/test_plans/unit_tests_eal_test_plan.rst index 7b2cf627..4cb9d6b9 100644 --- a/test_plans/unit_tests_eal_test_plan.rst +++ b/test_plans/unit_tests_eal_test_plan.rst @@ -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 ============ diff --git a/tests/TestSuite_unit_tests_eal.py b/tests/TestSuite_unit_tests_eal.py index f799b681..e5703f1d 100644 --- a/tests/TestSuite_unit_tests_eal.py +++ b/tests/TestSuite_unit_tests_eal.py @@ -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", "# ")
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(-)