[dts] [PATCH V1] tests/l3fwd_func: modify echo of l3fwd according to dpdk code change

Jiale Song songx.jiale at intel.com
Fri Jun 10 06:22:44 CEST 2022


dpdk has merged l3fwd-acl into l3fwd, resulting in the echo change when
starting l3fwd. modify the script to adapt to this change.

According to dpdk commit 6de0ea50e9b9("examples/l3fwd: merge l3fwd-acl example").

Signed-off-by: Jiale Song <songx.jiale at intel.com>
---
 test_plans/l3fwd_func_test_plan.rst | 2 +-
 tests/TestSuite_l3fwd_func.py       | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/test_plans/l3fwd_func_test_plan.rst b/test_plans/l3fwd_func_test_plan.rst
index 2922797a..ba168629 100644
--- a/test_plans/l3fwd_func_test_plan.rst
+++ b/test_plans/l3fwd_func_test_plan.rst
@@ -130,7 +130,7 @@ Test Case 1: 1 port 1 queue with default setting
 
    *  The lookup method is lpm and use default table. DUT mac address is 40:A6:B7:7B:3F:00, the egress packets dst mac is 02:00:00:00:00:00::
 
-         Neither LPM, EM, or FIB selected, defaulting to LPM
+         Neither ACL, LPM, EM, or FIB selected, defaulting to LPM
          L3FWD: Missing 1 or more rule files, using default instead
 
    *  Every port creates 1 rx queue and 1 tx queue::
diff --git a/tests/TestSuite_l3fwd_func.py b/tests/TestSuite_l3fwd_func.py
index 1662d091..43b32f20 100644
--- a/tests/TestSuite_l3fwd_func.py
+++ b/tests/TestSuite_l3fwd_func.py
@@ -139,7 +139,7 @@ class TestL3fwdFunc(TestCase):
         params = '-p 0x1 --config="(0,0,1)" --eth-dest=0,b4:96:91:9f:64:b9'
         out = self.launch_l3fwd(eal_params, params)
         mesg_list = [
-            "Neither LPM, EM, or FIB selected, defaulting to LPM",
+            "Neither ACL, LPM, EM, or FIB selected, defaulting to LPM",
             "L3FWD: Missing 1 or more rule files, using default instead",
         ]
         self.check_l3fwd_message(out, mesg_list)
-- 
2.25.1



More information about the dts mailing list