[V1] tests/l3fwdacl: Adaptive dpdk command update

Message ID 20201022095240.2824-1-box.c.chen@intel.com (mailing list archive)
State Accepted
Headers
Series [V1] tests/l3fwdacl: Adaptive dpdk command update |

Commit Message

Chen, BoX C Oct. 22, 2020, 9:52 a.m. UTC
  DPDK has modified the print log, commit: ddfaa718b7a1f6a91f433341a512aca17d16a743
DTS needs to be adapted and updated.

Signed-off-by: ChenBo <box.c.chen@intel.com>
---
 tests/TestSuite_l3fwdacl.py | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
  

Comments

Chen, BoX C Oct. 22, 2020, 9:55 a.m. UTC | #1
Tested-by: Chen, BoX C <BoX.C.Chen@intel.com>

Regards,
Chen Bo

> -----Original Message-----
> From: ChenBo <box.c.chen@intel.com>
> Sent: October 22, 2020 17:53
> To: dts@dpdk.org
> Cc: Chen, BoX C <box.c.chen@intel.com>
> Subject: [dts][PATCH V1] tests/l3fwdacl: Adaptive dpdk command update
> 
> DPDK has modified the print log, commit:
> ddfaa718b7a1f6a91f433341a512aca17d16a743
> DTS needs to be adapted and updated.
> 
> Signed-off-by: ChenBo <box.c.chen@intel.com>
  
Tu, Lijuan Nov. 3, 2020, 1:49 a.m. UTC | #2
> DPDK has modified the print log, commit:
> ddfaa718b7a1f6a91f433341a512aca17d16a743
> DTS needs to be adapted and updated.
> 
> Signed-off-by: ChenBo <box.c.chen@intel.com>

Applied
  

Patch

diff --git a/tests/TestSuite_l3fwdacl.py b/tests/TestSuite_l3fwdacl.py
index 35b7c25..cc87e17 100644
--- a/tests/TestSuite_l3fwdacl.py
+++ b/tests/TestSuite_l3fwdacl.py
@@ -170,7 +170,7 @@  class TestL3fwdacl(TestCase):
         extra_args = ''
 
         if scalar:
-            extra_args = '--scalar'
+            extra_args = '--alg="scalar"'
 
         cmdline = '%s -c %s -n %d -- -p %s --config="(%d,0,2),(%d,0,3)" --rule_ipv4="%s" --rule_ipv6="%s" %s' % \
                   (self.app_l3fwd_acl_path, self.core_mask, self.dut.get_memory_channels(),
@@ -840,7 +840,7 @@  class TestL3fwdacl(TestCase):
         rule_list_ipv4.append(TestL3fwdacl.invalid_port_rule_ipv4)
         self.create_acl_ipv4_db(rule_list_ipv4)
 
-        cmdline = '%s -c %s -n %d -- -p %s --config="(%d,0,2),(%d,0,3)" --rule_ipv4="%s" --rule_ipv6="%s" --scalar' % \
+        cmdline = '%s -c %s -n %d -- -p %s --config="(%d,0,2),(%d,0,3)" --rule_ipv4="%s" --rule_ipv6="%s" --alg="scalar"' % \
                   (self.app_l3fwd_acl_path, self.core_mask, self.dut.get_memory_channels(),
                    self.port_mask, self.dut_ports[0], self.dut_ports[1],
                    TestL3fwdacl.acl_ipv4_db, TestL3fwdacl.acl_ipv6_db)
@@ -852,7 +852,7 @@  class TestL3fwdacl(TestCase):
         rule_list_ipv6.append(TestL3fwdacl.invalid_port_rule_ipv6)
         self.create_acl_ipv6_db(rule_list_ipv6)
 
-        cmdline = '%s -c %s -n %d -- -p %s --config="(%d,0,2),(%d,0,3)" --rule_ipv4="%s" --rule_ipv6="%s" --scalar' % \
+        cmdline = '%s -c %s -n %d -- -p %s --config="(%d,0,2),(%d,0,3)" --rule_ipv4="%s" --rule_ipv6="%s" --alg="scalar"' % \
                   (self.app_l3fwd_acl_path, self.core_mask, self.dut.get_memory_channels(),
                    self.port_mask, self.dut_ports[0], self.dut_ports[1],
                    TestL3fwdacl.acl_ipv4_db, TestL3fwdacl.acl_ipv6_db)