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

Weiyuan Li weiyuanx.li at intel.com
Fri Nov 25 10:16:28 CET 2022


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

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.
-- 
2.27.0



More information about the dts mailing list