* [dts][PATCH V1 1/2] test_plans/dpdk_gso_lib_test_plan: modify testplan by DPDK changed
@ 2022-11-16 2:09 Wei Ling
0 siblings, 0 replies; only message in thread
From: Wei Ling @ 2022-11-16 2:09 UTC (permalink / raw)
To: dts; +Cc: Wei Ling
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(-)
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
--
2.25.1
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-11-16 2:14 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-11-16 2:09 [dts][PATCH V1 1/2] test_plans/dpdk_gso_lib_test_plan: modify testplan by DPDK changed Wei Ling
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).