From: Konstantin Ananyev <konstantin.ananyev@intel.com>
To: dts@dpdk.org
Cc: Konstantin Ananyev <konstantin.ananyev@intel.com>
Subject: [dts] [PATCH] tests/unit_tests_eal: modify ACL test to enhnace test coverage
Date: Tue, 18 May 2021 16:39:26 +0100 [thread overview]
Message-ID: <20210518153926.12091-1-konstantin.ananyev@intel.com> (raw)
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
next reply other threads:[~2021-05-18 15:39 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-05-18 15:39 Konstantin Ananyev [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20210518153926.12091-1-konstantin.ananyev@intel.com \
--to=konstantin.ananyev@intel.com \
--cc=dts@dpdk.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).