diff mbox series

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

Message ID 20221125091637.1811-4-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

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_checksum_offload.py | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/tests/TestSuite_checksum_offload.py b/tests/TestSuite_checksum_offload.py
index 6eed3f05..0214231c 100644
--- a/tests/TestSuite_checksum_offload.py
+++ b/tests/TestSuite_checksum_offload.py
@@ -90,6 +90,7 @@  class TestChecksumOffload(TestCase):
         )
         self.dut.send_expect("set verbose 1", "testpmd>")
         self.dut.send_expect("set fwd csum", "testpmd>")
+        self.dut.send_expect("csum mac-swap off 0", "testpmd>")
 
     def checksum_enablehw(self, port):
         self.dut.send_expect("port stop all", "testpmd>")