diff mbox series

[V1,12/12] tests/tx_preparation: dts adaptation DPDk checksum function changes

Message ID 20221125091637.1811-12-weiyuanx.li@intel.com (mailing list archive)
State Accepted
Headers show
Series [V1,01/12] test_plans/vf_offload: dts adaptation DPDk checksum function changes | expand

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

Weiyuan Li Nov. 25, 2022, 9:16 a.m. UTC
DPDK22.11 236bc417e2da(app/testpmd: fix MAC header in checksum forward
engine) changes the checksum functions adds switches to control whether
to exchange MAC address.

Modify DTS code to adapt to this change.

Signed-off-by: Weiyuan Li <weiyuanx.li@intel.com>
---
 tests/TestSuite_tx_preparation.py | 2 ++
 1 file changed, 2 insertions(+)

Comments

Peng, Yuan Dec. 21, 2022, 9:01 a.m. UTC | #1
> -----Original Message-----
> From: Li, WeiyuanX <weiyuanx.li@intel.com>
> Sent: Friday, November 25, 2022 5:17 PM
> To: dts@dpdk.org; Peng, Yuan <yuan.peng@intel.com>
> Cc: Li, WeiyuanX <weiyuanx.li@intel.com>
> Subject: [dts][PATCH V1 12/12] tests/tx_preparation: dts adaptation DPDk
> checksum function changes
> 
> DPDK22.11 236bc417e2da(app/testpmd: fix MAC header in checksum
> forward
> engine) changes the checksum functions adds switches to control whether to
> exchange MAC address.
> 
> Modify DTS code to adapt to this change.
> 
> Signed-off-by: Weiyuan Li <weiyuanx.li@intel.com>
> ---

Acked-by: Yuan Peng <yuan.peng@intel.com>
Song Jiale Dec. 21, 2022, 9:16 a.m. UTC | #2
> -----Original Message-----
> From: Weiyuan Li <weiyuanx.li@intel.com>
> Sent: Friday, November 25, 2022 5:17 PM
> To: dts@dpdk.org; Peng, Yuan <yuan.peng@intel.com>
> Cc: Li, WeiyuanX <weiyuanx.li@intel.com>
> Subject: [dts][PATCH V1 12/12] tests/tx_preparation: dts adaptation DPDk
> checksum function changes
> 
> DPDK22.11 236bc417e2da(app/testpmd: fix MAC header in checksum
> forward
> engine) changes the checksum functions adds switches to control whether to
> exchange MAC address.
> 
> Modify DTS code to adapt to this change.
> 
> Signed-off-by: Weiyuan Li <weiyuanx.li@intel.com>
> ---
Tested-by: Song Jiale <songx.jiale@intel.com>
diff mbox series

Patch

diff --git a/tests/TestSuite_tx_preparation.py b/tests/TestSuite_tx_preparation.py
index 42fff1cf..51d02d10 100644
--- a/tests/TestSuite_tx_preparation.py
+++ b/tests/TestSuite_tx_preparation.py
@@ -183,6 +183,7 @@  class TestTX_preparation(TestCase):
         """
         self.dut_testpmd.execute_cmd("tso set 0 0")
         self.dut_testpmd.execute_cmd("port start all")
+        self.dut_testpmd.execute_cmd("csum mac-swap off 0", "testpmd>")
         self.dut_testpmd.execute_cmd("start")
 
         self.send_packet_verify()
@@ -192,6 +193,7 @@  class TestTX_preparation(TestCase):
         ftag functional test
         """
         self.dut_testpmd.execute_cmd("tso set %s 0" % TSO_value)
+        self.dut_testpmd.execute_cmd("csum mac-swap off 0", "testpmd>")
         self.dut_testpmd.execute_cmd("port start all")
         self.dut_testpmd.execute_cmd("start")