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>, Lingli Chen <linglix.chen@intel.com>
Subject: [dts][PATCH V2 1/2] test_plans/kernelpf_iavf: optimize script multicast case cancel trust mode
Date: Mon, 31 Oct 2022 15:47:02 +0800	[thread overview]
Message-ID: <20221031074703.19840-1-weiyuanx.li@intel.com> (raw)

Case vf_multicast modify script disable trust model and use 'mcast_addr' add multicast
address to the testpmd.

Signed-off-by: Weiyuan Li <weiyuanx.li@intel.com>
---
Tested-by: Lingli Chen <linglix.chen@intel.com>

v2:
-Modify test plan add steps config multicast address and disable trust
mode.

 test_plans/kernelpf_iavf_test_plan.rst | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/test_plans/kernelpf_iavf_test_plan.rst b/test_plans/kernelpf_iavf_test_plan.rst
index 1b9169c2..c26aebd4 100644
--- a/test_plans/kernelpf_iavf_test_plan.rst
+++ b/test_plans/kernelpf_iavf_test_plan.rst
@@ -163,9 +163,9 @@ Disable kernel trust mode::
 
 Test case: VF multicast
 =======================
-Enable kernel trust mode::
+Disable kernel trust mode::
 
-    ip link set $PF_INTF vf 0 trust on
+    ip link set $PF_INTF vf 0 trust off
 
 Start VF testpmd
 
@@ -184,15 +184,15 @@ Enable multicast mode::
 
     testpmd> set allmulti all on
 
+configure multicast address::
+
+    testpmd> mcast_addr add 0 01:80:C2:00:00:08
+
 Send packet with current VF0's MAC, and check VF can receive the packet.
 
 Send packet with multicast MAC 01:80:C2:00:00:08, and check VF can
 receive the packet.
 
-Disable kernel trust mode::
-
-    ip link set $PF_INTF vf 0 trust off
-
 Test case: VF broadcast
 =======================
 Disable VF promisc mode::
-- 
2.27.0


             reply	other threads:[~2022-10-31  7:47 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-10-31  7:47 Weiyuan Li [this message]
2022-10-31  7:47 ` [dts][PATCH V2 2/2] tests/kernelpf_iavf: " Weiyuan Li
2022-11-18  8:27   ` lijuan.tu

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=20221031074703.19840-1-weiyuanx.li@intel.com \
    --to=weiyuanx.li@intel.com \
    --cc=dts@dpdk.org \
    --cc=linglix.chen@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).