From: Wei Ling <weix.ling@intel.com>
To: dts@dpdk.org
Cc: Wei Ling <weix.ling@intel.com>
Subject: [dts][PATCH V1 1/2] test_plans/dpdk_gso_lib_test_plan: modify testplan by DPDK changed
Date: Wed, 16 Nov 2022 10:09:21 +0800 [thread overview]
Message-ID: <20221116020921.609974-1-weix.ling@intel.com> (raw)
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
reply other threads:[~2022-11-16 2:14 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20221116020921.609974-1-weix.ling@intel.com \
--to=weix.ling@intel.com \
--cc=dts@dpdk.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).