[V1,1/2] test_plans/dpdk_gso_lib_test_plan: modify testplan by DPDK changed

Message ID 20221116020921.609974-1-weix.ling@intel.com (mailing list archive)
State Accepted
Headers
Series modify dpdk_gso_lib |

Commit Message

Ling, WeiX Nov. 16, 2022, 2:09 a.m. UTC
  As DPDK commit 236bc417(app/testpmd: fix MAC header in checksum
forward engine),need to add `csum mac-swap off <port_id>` steps
in testplan.

Signed-off-by: Wei Ling <weix.ling@intel.com>
---
 test_plans/dpdk_gso_lib_test_plan.rst | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)
  

Patch

diff --git a/test_plans/dpdk_gso_lib_test_plan.rst b/test_plans/dpdk_gso_lib_test_plan.rst
index 727de1f7..3e9b7576 100644
--- a/test_plans/dpdk_gso_lib_test_plan.rst
+++ b/test_plans/dpdk_gso_lib_test_plan.rst
@@ -54,6 +54,8 @@  Test Case1: DPDK GSO test with tcp traffic
     ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 2-4 -n 4 \
     --file-prefix=vhost --vdev 'net_vhost0,iface=vhost-net,queues=1,client=0' -- -i --txd=1024 --rxd=1024
     testpmd>set fwd csum
+    testpmd>csum mac-swap off 0
+    testpmd>csum mac-swap off 1
     testpmd>stop
     testpmd>port stop 0
     testpmd>csum set tcp hw 0
@@ -112,6 +114,8 @@  Test Case3: DPDK GSO test with vxlan traffic
     ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 2-4 -n 4 \
     --file-prefix=vhost --vdev 'net_vhost0,iface=vhost-net,queues=1,client=0' -- -i --txd=1024 --rxd=1024
     testpmd>set fwd csum
+    testpmd>csum mac-swap off 0
+    testpmd>csum mac-swap off 1
     testpmd>stop
     testpmd>port stop 0
     testpmd>csum set tcp hw 0
@@ -164,6 +168,8 @@  Test Case4: DPDK GSO test with gre traffic
     ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 2-4 -n 4 \
     --file-prefix=vhost --vdev 'net_vhost0,iface=vhost-net,queues=1,client=0' -- -i --txd=1024 --rxd=1024
     testpmd>set fwd csum
+    testpmd>csum mac-swap off 0
+    testpmd>csum mac-swap off 1
     testpmd>stop
     testpmd>port stop 0
     testpmd>csum set tcp hw 0
@@ -196,4 +202,4 @@  Test Case4: DPDK GSO test with gre traffic
 5. Start iperf test, run iperf server at host side and iperf client at vm side, check throughput in log::
 
     Host side :  ip netns exec ns1 iperf -s
-    VM side:     iperf -c 1.1.1.1 -i 1 -t 60
\ No newline at end of file
+    VM side:     iperf -c 1.1.1.1 -i 1 -t 60