test suite reviews and discussions
 help / color / mirror / Atom feed
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 02/12] tests/vf_offload: dts adaptation DPDk checksum function changes
Date: Fri, 25 Nov 2022 17:16:27 +0800	[thread overview]
Message-ID: <20221125091637.1811-2-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_vf_offload.py | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/tests/TestSuite_vf_offload.py b/tests/TestSuite_vf_offload.py
index 75c75f05..26fad2b8 100644
--- a/tests/TestSuite_vf_offload.py
+++ b/tests/TestSuite_vf_offload.py
@@ -314,6 +314,8 @@ class TestVfOffload(TestCase):
             param="--portmask=%s " % (self.portMask) + "--enable-rx-cksum " + "",
         )
         self.vm0_testpmd.execute_cmd("set fwd csum")
+        self.vm0_testpmd.execute_cmd("csum mac-swap off 0", "testpmd>")
+        self.vm0_testpmd.execute_cmd("csum mac-swap off 1", "testpmd>")
         self.vm0_testpmd.execute_cmd("set promisc 1 on")
         self.vm0_testpmd.execute_cmd("set promisc 0 on")
 
@@ -376,6 +378,8 @@ class TestVfOffload(TestCase):
             param="--portmask=%s " % (self.portMask) + "--enable-rx-cksum " + "",
         )
         self.vm0_testpmd.execute_cmd("set fwd csum")
+        self.vm0_testpmd.execute_cmd("csum mac-swap off 0", "testpmd>")
+        self.vm0_testpmd.execute_cmd("csum mac-swap off 1", "testpmd>")
         self.vm0_testpmd.execute_cmd("set promisc 1 on")
         self.vm0_testpmd.execute_cmd("set promisc 0 on")
 
-- 
2.27.0


  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 [dts][PATCH V1 01/12] test_plans/vf_offload: " Weiyuan Li
2022-11-25  9:16 ` Weiyuan Li [this message]
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-2-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).