test suite reviews and discussions
 help / color / mirror / Atom feed
From: Weiyuan Li <weiyuanx.li@intel.com>
To: dts@dpdk.org
Cc: Weiyuan Li <weiyuanx.li@intel.com>, Jiale Song <songx.jiale@intel.com>
Subject: [dts][PATCH V3 09/10] test_plans/ice_iavf_fdir: update dts code for dpdk csum change
Date: Tue, 30 Aug 2022 10:47:39 +0800	[thread overview]
Message-ID: <20220830024740.26250-9-weiyuanx.li@intel.com> (raw)
In-Reply-To: <20220830024740.26250-1-weiyuanx.li@intel.com>

According to dpdk commit 9b4ea7ae77fa(app/testpmd: revert MAC update in checksum forwarding) modify
the script adapt to this chagne.

1. Modify VF case to enable promisc.
2. Modify PF case to send packet dst mac is random.

Signed-off-by: Weiyuan Li <weiyuanx.li@intel.com>
---
Tested-by: Jiale Song < songx.jiale@intel.com>

v2:
-Enable promisc mode in testpmd
v3:
-Test plan csum add enable promisc mode

 test_plans/ice_iavf_fdir_test_plan.rst | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/test_plans/ice_iavf_fdir_test_plan.rst b/test_plans/ice_iavf_fdir_test_plan.rst
index b485f899..9f6b5aaf 100644
--- a/test_plans/ice_iavf_fdir_test_plan.rst
+++ b/test_plans/ice_iavf_fdir_test_plan.rst
@@ -195,6 +195,12 @@ Prerequisites
     ip link set enp134s0f1 vf 0 mac 00:11:22:33:44:77
     ip link set enp134s0f1 vf 1 mac 00:11:22:33:44:88
 
+    If test set HW checksum and SW checksum:
+    ip link set enp24s0f0 vf 0 trust on
+    ip link set enp24s0f0 vf 0 spoofchk off
+    ip link set enp24s0f0 vf 1 trust on
+    ip link set enp24s0f0 vf 1 spoofchk off
+
    0000:86:00.0 generate 0000:86:01.0 and 0000:86:01.1
    0000:86:00.1 generate 0000:86:11.0 and 0000:86:11.1
    define 86:01.0 as vf00, 86:01.1 as vf01, 86:11.0 as vf10, 86:11.1 as vf11.
@@ -5058,6 +5064,7 @@ Subcase 1: PFCP FDIR vlan strip on HW checksum offload check
     testpmd> csum set ip hw 0
     testpmd> csum set udp hw 0
     testpmd> port start all
+    testpmd> set promisc 0 on
     testpmd> set verbose 1
     testpmd> start
 
@@ -5129,6 +5136,7 @@ subcase 2: PFCP FDIR vlan strip off SW checksum offload check
     testpmd> csum set udp sw 0
     testpmd> port start all
     testpmd> set verbose 1
+    testpmd> set promisc 0 on
     testpmd> start
 
 4. DUT create fdir rules for MAC_IPV4_PFCP_NODE/MAC_IPV4_PFCP_SESSION/MAC_IPV6_PFCP_NODE/MAC_IPV6_PFCP_SESSION with queue index and mark::
-- 
2.27.0


  parent reply	other threads:[~2022-08-30  2:47 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-30  2:47 [dts][PATCH V3 01/10] tests/vf_offload: " Weiyuan Li
2022-08-30  2:47 ` [dts][PATCH V3 02/10] test_plans/vf_offload: " Weiyuan Li
2022-08-30  3:06   ` Peng, Yuan
2022-08-30  2:47 ` [dts][PATCH V3 03/10] tests/checksum_offload: " Weiyuan Li
2022-08-30  3:06   ` Peng, Yuan
2022-08-30  2:47 ` [dts][PATCH V3 04/10] tests/ice_advanced_iavf_rss: " Weiyuan Li
2022-08-30  3:06   ` Peng, Yuan
2022-08-30  2:47 ` [dts][PATCH V3 05/10] test_plans/ice_advanced_iavf_rss: " Weiyuan Li
2022-08-30  3:05   ` Peng, Yuan
2022-08-30  2:47 ` [dts][PATCH V3 06/10] tests/ice_advanced_rss: " Weiyuan Li
2022-08-30  3:11   ` Peng, Yuan
2022-08-30  2:47 ` [dts][PATCH V3 07/10] test_plans/ice_advanced_rss: " Weiyuan Li
2022-08-30  3:09   ` Peng, Yuan
2022-08-30  2:47 ` [dts][PATCH V3 08/10] tests/ice_iavf_fdir: " Weiyuan Li
2022-08-30  3:09   ` Peng, Yuan
2022-08-30  2:47 ` Weiyuan Li [this message]
2022-08-30  3:10   ` [dts][PATCH V3 09/10] test_plans/ice_iavf_fdir: " Peng, Yuan
2022-08-30  2:47 ` [dts][PATCH V3 10/10] tests/tx_preparation: " Weiyuan Li
2022-08-30  3:10   ` Peng, Yuan
2022-09-02  1:44   ` lijuan.tu
2022-08-30  3:05 ` [dts][PATCH V3 01/10] tests/vf_offload: " Peng, Yuan

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=20220830024740.26250-9-weiyuanx.li@intel.com \
    --to=weiyuanx.li@intel.com \
    --cc=dts@dpdk.org \
    --cc=songx.jiale@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).