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

Message ID 20220610042244.888620-1-songx.jiale@intel.com (mailing list archive)
State Accepted
Headers
Series [V1] tests/l3fwd_func: modify echo of l3fwd according to dpdk code change |

Checks

Context Check Description
ci/Intel-dts-doc-test success Testing OK
ci/Intel-dts-format-test success Testing OK
ci/Intel-dts-pylama-test success Testing OK
ci/Intel-dts-suite-test fail Testing issues

Commit Message

Jiale, SongX June 10, 2022, 4:22 a.m. UTC
  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@intel.com>
---
 test_plans/l3fwd_func_test_plan.rst | 2 +-
 tests/TestSuite_l3fwd_func.py       | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
  

Comments

Tu, Lijuan June 15, 2022, 8:37 a.m. UTC | #1
On Fri, 10 Jun 2022 12:22:44 +0800, Jiale Song <songx.jiale@intel.com> wrote:
> 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@intel.com>


Applied, thanks
  

Patch

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)