test suite reviews and discussions
 help / color / mirror / Atom feed
* [dts][PATCH V2 1/2] tests/l3fwdacl: modify pmd param for acl
@ 2021-11-23  8:34 Xiang An
  2021-11-23  8:34 ` [dts][PATCH V2 2/2] tests/unit_tests_eal: " Xiang An
  0 siblings, 1 reply; 3+ messages in thread
From: Xiang An @ 2021-11-23  8:34 UTC (permalink / raw)
  To: dts; +Cc: xiangx.an

While test with acl, whatever the dpdk's rx_mode is, always use "force-max-simd-bitwidth=0" as the launch parameter for dpdk.

Signed-off-by: Xiang An <xiangx.an@intel.com>
---
 tests/TestSuite_l3fwdacl.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/TestSuite_l3fwdacl.py b/tests/TestSuite_l3fwdacl.py
index 65c46b0c..4baae51e 100644
--- a/tests/TestSuite_l3fwdacl.py
+++ b/tests/TestSuite_l3fwdacl.py
@@ -638,7 +638,7 @@ class TestL3fwdacl(TestCase):
         cores = self.get_core_list()
         self.verify(cores is not None, "Insufficient cores for speed testing")
 
-        self.eal_para = self.dut.create_eal_parameters(cores=self.get_core_list())
+        self.eal_para = self.dut.create_eal_parameters(cores=self.get_core_list(), other_eal_param='force-max-simd-bitwidth')
         self.core_mask = utils.create_mask(cores)
         print("Core mask: %s" % self.core_mask)
 
-- 
2.17.1


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

* [dts][PATCH V2 2/2] tests/unit_tests_eal: modify pmd param for acl
  2021-11-23  8:34 [dts][PATCH V2 1/2] tests/l3fwdacl: modify pmd param for acl Xiang An
@ 2021-11-23  8:34 ` Xiang An
  2021-11-30  3:23   ` Tu, Lijuan
  0 siblings, 1 reply; 3+ messages in thread
From: Xiang An @ 2021-11-23  8:34 UTC (permalink / raw)
  To: dts; +Cc: xiangx.an

While test with acl, whatever the dpdk's rx_mode is, always use "force-max-simd-bitwidth=0" as the launch parameter for dpdk.

Signed-off-by: Xiang An <xiangx.an@intel.com>
---
 tests/TestSuite_unit_tests_eal.py | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

diff --git a/tests/TestSuite_unit_tests_eal.py b/tests/TestSuite_unit_tests_eal.py
index 8096183c..37756843 100644
--- a/tests/TestSuite_unit_tests_eal.py
+++ b/tests/TestSuite_unit_tests_eal.py
@@ -457,13 +457,14 @@ class TestUnitTestsEal(TestCase):
         """
         Run acl autotest.
         """
-
-        eal_params = self.dut.create_eal_parameters()
-        self.test_app_cmdline += "--no-pci"
+        eal_params = self.dut.create_eal_parameters(other_eal_param='force-max-simd-bitwidth')
+        app_name = self.dut.apps_name['test']
+        test_app_cmdline = app_name + eal_params
+        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)
+            test_app_cmdline += " --force-max-simd-bitwidth=0"
+        self.dut.send_expect(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", "# ")
         self.verify("Test OK" in out, "Test failed")
-- 
2.17.1


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

* RE: [dts][PATCH V2 2/2] tests/unit_tests_eal: modify pmd param for acl
  2021-11-23  8:34 ` [dts][PATCH V2 2/2] tests/unit_tests_eal: " Xiang An
@ 2021-11-30  3:23   ` Tu, Lijuan
  0 siblings, 0 replies; 3+ messages in thread
From: Tu, Lijuan @ 2021-11-30  3:23 UTC (permalink / raw)
  To: An, XiangX, dts; +Cc: An, XiangX

> -----Original Message-----
> From: Xiang An <xiangx.an@intel.com>
> Sent: 2021年11月23日 16:34
> To: dts@dpdk.org
> Cc: An, XiangX <xiangx.an@intel.com>
> Subject: [dts][PATCH V2 2/2] tests/unit_tests_eal: modify pmd param for acl
> 
> While test with acl, whatever the dpdk's rx_mode is, always use "force-max-
> simd-bitwidth=0" as the launch parameter for dpdk.
> 
> Signed-off-by: Xiang An <xiangx.an@intel.com>

Applied

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

end of thread, other threads:[~2021-11-30  3:24 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-23  8:34 [dts][PATCH V2 1/2] tests/l3fwdacl: modify pmd param for acl Xiang An
2021-11-23  8:34 ` [dts][PATCH V2 2/2] tests/unit_tests_eal: " Xiang An
2021-11-30  3:23   ` Tu, Lijuan

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