From: Weiyuan Li <weiyuanx.li@intel.com>
To: dts@dpdk.org, yuan.peng@intel.com
Cc: Weiyuan Li <weiyuanx.li@intel.com>
Subject: [dts][PATCH V1 01/12] test_plans/vf_offload: dts adaptation DPDk checksum function changes
Date: Fri, 25 Nov 2022 17:16:26 +0800 [thread overview]
Message-ID: <20221125091637.1811-1-weiyuanx.li@intel.com> (raw)
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/vf_offload_test_plan.rst | 20 +++++++++++++++++++-
1 file changed, 19 insertions(+), 1 deletion(-)
diff --git a/test_plans/vf_offload_test_plan.rst b/test_plans/vf_offload_test_plan.rst
index c5e720f2..c3b189c0 100644
--- a/test_plans/vf_offload_test_plan.rst
+++ b/test_plans/vf_offload_test_plan.rst
@@ -92,7 +92,13 @@ Enable the IPv4/UDP/TCP/SCTP HW checksum offload on port 0::
testpmd> csum set udp hw 0
testpmd> csum set sctp hw 0
testpmd> port start all
- testpmd> set promisc 0 on
+ testpmd> set promisc 0
+
+ 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
+
testpmd> start
csum packet forwarding - CRC stripping disabled - packets/burst=32
nb forwarding cores=1 - nb forwarding ports=10
@@ -133,6 +139,12 @@ Enable the IPv4/UDP/TCP/SCTP SW checksum offload on port 0::
testpmd> csum set sctp sw 0
testpmd> port start all
testpmd> set promisc 0 on
+
+ 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
+
testpmd> start
csum packet forwarding - CRC stripping disabled - packets/burst=32
nb forwarding cores=1 - nb forwarding ports=10
@@ -217,6 +229,12 @@ Launch the userland ``testpmd`` application on DUT as follows::
# Set fwd engine and start
testpmd> set fwd csum
+
+ 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
+
testpmd> start
Test IPv4() in scapy::
--
2.27.0
next reply other threads:[~2022-11-25 9:16 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-11-25 9:16 Weiyuan Li [this message]
2022-11-25 9:16 ` [dts][PATCH V1 02/12] tests/vf_offload: " Weiyuan Li
2022-11-25 9:16 ` [dts][PATCH V1 03/12] test_plans/checksum_offload: " Weiyuan Li
2022-11-25 9:16 ` [dts][PATCH V1 04/12] tests/checksum_offload: " Weiyuan Li
2022-11-25 9:16 ` [dts][PATCH V1 05/12] test_plans/ice_advanced_iavf_rss: " Weiyuan Li
2022-11-25 9:16 ` [dts][PATCH V1 06/12] tests/ice_advanced_iavf_rss: " Weiyuan Li
2022-11-25 9:16 ` [dts][PATCH V1 07/12] test_plans/ice_advanced_rss: " Weiyuan Li
2022-11-25 9:16 ` [dts][PATCH V1 08/12] tests/ice_advanced_rss: " Weiyuan Li
2022-11-25 9:16 ` [dts][PATCH V1 09/12] test_plans/ice_iavf_fdir: " Weiyuan Li
2022-11-25 9:16 ` [dts][PATCH V1 10/12] tests/ice_iavf_fdir: " Weiyuan Li
2022-11-25 9:16 ` [dts][PATCH V1 11/12] test_plans/tx_preparation: " Weiyuan Li
2022-11-25 9:16 ` [dts][PATCH V1 12/12] tests/tx_preparation: " Weiyuan Li
2022-12-21 9:01 ` Peng, Yuan
2022-12-21 9:16 ` Jiale, SongX
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=20221125091637.1811-1-weiyuanx.li@intel.com \
--to=weiyuanx.li@intel.com \
--cc=dts@dpdk.org \
--cc=yuan.peng@intel.com \
/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).