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 12/12] tests/tx_preparation: dts adaptation DPDk checksum function changes
Date: Fri, 25 Nov 2022 17:16:37 +0800 [thread overview]
Message-ID: <20221125091637.1811-12-weiyuanx.li@intel.com> (raw)
In-Reply-To: <20221125091637.1811-1-weiyuanx.li@intel.com>
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>
---
tests/TestSuite_tx_preparation.py | 2 ++
1 file changed, 2 insertions(+)
diff --git a/tests/TestSuite_tx_preparation.py b/tests/TestSuite_tx_preparation.py
index 42fff1cf..51d02d10 100644
--- a/tests/TestSuite_tx_preparation.py
+++ b/tests/TestSuite_tx_preparation.py
@@ -183,6 +183,7 @@ class TestTX_preparation(TestCase):
"""
self.dut_testpmd.execute_cmd("tso set 0 0")
self.dut_testpmd.execute_cmd("port start all")
+ self.dut_testpmd.execute_cmd("csum mac-swap off 0", "testpmd>")
self.dut_testpmd.execute_cmd("start")
self.send_packet_verify()
@@ -192,6 +193,7 @@ class TestTX_preparation(TestCase):
ftag functional test
"""
self.dut_testpmd.execute_cmd("tso set %s 0" % TSO_value)
+ self.dut_testpmd.execute_cmd("csum mac-swap off 0", "testpmd>")
self.dut_testpmd.execute_cmd("port start all")
self.dut_testpmd.execute_cmd("start")
--
2.27.0
next prev parent reply other threads:[~2022-11-25 9:17 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-11-25 9:16 [dts][PATCH V1 01/12] test_plans/vf_offload: " Weiyuan Li
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 ` Weiyuan Li [this message]
2022-12-21 9:01 ` [dts][PATCH V1 12/12] tests/tx_preparation: " 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-12-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).