[V2,1/2] test_plans/kernelpf_iavf: optimize script multicast case cancel trust mode
Commit Message
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(-)
@@ -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::