[V1,03/12] test_plans/checksum_offload: dts adaptation DPDk checksum function changes

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

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>
---
 test_plans/checksum_offload_test_plan.rst | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)
  

Patch

diff --git a/test_plans/checksum_offload_test_plan.rst b/test_plans/checksum_offload_test_plan.rst
index 00db1a74..b7e1694c 100644
--- a/test_plans/checksum_offload_test_plan.rst
+++ b/test_plans/checksum_offload_test_plan.rst
@@ -59,6 +59,11 @@  Set the verbose level to 1 to display information for each received packet::
 
   testpmd> set verbose 1
 
+Due to DPDK 236bc417e2da(app/testpmd: fix MAC header in checksum forward engine) changes the checksum 
+functions adds switches to control whether to exchange MAC address.
+Currently, our test scripts are based on not exchanging MAC addresses, mac-swap needs to be disabled:
+
+  testpmd> csum mac-swap off 0
 
 Test Case: Insert IPv4/IPv6 UDP/TCP/SCTP checksum on the transmit packet
 ========================================================================
@@ -1000,4 +1005,4 @@  combination: IPv4/UDP, IPv4/TCP, IPv6/UDP, IPv6/TCP::
 
 Then verify that the same number of packet are correctly received on the tester. 
 
-Inspect the pcap file from the packet capture and verify the checksums.
\ No newline at end of file
+Inspect the pcap file from the packet capture and verify the checksums.