test suite reviews and discussions
 help / color / mirror / Atom feed
* [dts] [PATCH] tests/unit_tests_eal: modify ACL test to enhnace test coverage
@ 2021-05-18 15:39 Konstantin Ananyev
  2021-05-26  8:13 ` Tu, Lijuan
  0 siblings, 1 reply; 4+ messages in thread
From: Konstantin Ananyev @ 2021-05-18 15:39 UTC (permalink / raw)
  To: dts; +Cc: Konstantin Ananyev

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(-)

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", "# ")
-- 
2.26.3


^ permalink raw reply	[flat|nested] 4+ messages in thread
* [dts] [PATCH] tests/unit_tests_eal: modify ACL test to enhnace test coverage
@ 2021-05-17 17:52 Konstantin Ananyev
  2021-06-18  7:42 ` Tu, Lijuan
  0 siblings, 1 reply; 4+ messages in thread
From: Konstantin Ananyev @ 2021-05-17 17:52 UTC (permalink / raw)
  To: dts; +Cc: Konstantin Ananyev

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(-)

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", "# ")
-- 
2.26.3


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

end of thread, other threads:[~2021-06-18  7:42 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-18 15:39 [dts] [PATCH] tests/unit_tests_eal: modify ACL test to enhnace test coverage Konstantin Ananyev
2021-05-26  8:13 ` Tu, Lijuan
  -- strict thread matches above, loose matches on Subject: below --
2021-05-17 17:52 Konstantin Ananyev
2021-06-18  7:42 ` Tu, Lijuan

test suite reviews and discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://inbox.dpdk.org/dts/0 dts/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 dts dts/ https://inbox.dpdk.org/dts \
		dts@dpdk.org
	public-inbox-index dts

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://inbox.dpdk.org/inbox.dpdk.dts


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git