* [dts] [PATCH] test_plan/shutdown_api: add allmulticast mode test plan
@ 2020-04-26 3:54 Xueqin Lin
2020-04-27 7:51 ` Tu, Lijuan
0 siblings, 1 reply; 2+ messages in thread
From: Xueqin Lin @ 2020-04-26 3:54 UTC (permalink / raw)
To: dts; +Cc: Xueqin Lin
Signed-off-by: Xueqin Lin <xueqin.lin@intel.com>
---
test_plans/shutdown_api_test_plan.rst | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)
diff --git a/test_plans/shutdown_api_test_plan.rst b/test_plans/shutdown_api_test_plan.rst
index c2dd415..83a495a 100644
--- a/test_plans/shutdown_api_test_plan.rst
+++ b/test_plans/shutdown_api_test_plan.rst
@@ -114,6 +114,30 @@ Test Case: Set promiscuous mode
and receive packets, and check that testpmd is able to receive and forward packets
successfully.
+Test Case: Set allmulticast mode
+--------------------------------
+
+1. If the testpmd application is not launched, run it as above command. Follow
+ below steps to check if allmulticast mode setting works well after reconfiguring
+ it while all ports are stopped.
+2. Run ``set promisc all off`` to disable promiscuous mode on all ports.
+3. Run ``set allmulti all off`` to disable allmulticast mode on all ports.
+4. Run ``start`` again to restart the forwarding.
+5. Send packets with dst same to port address.
+6. Check that testpmd is able to receive and forward packets successfully.
+7. Send packets with unicast dst not same to port address.
+8. Check that testpmd is NOT able to receive and forward packets successfully.
+9. Send packets with multicast dst ``01:00:00:33:00:01`` packets.
+10. Check that testpmd is NOT able to receive and forward packets successfully.
+11. Run ``set allmulti all on`` to enable allmulticast mode on all ports.
+12. Send packets with multicast dst ``01:00:00:33:00:01`` packets.
+13. Check that testpmd is able to receive and forward packets successfully.
+14. Send packets with unicast dst not same to port address.
+15. Check that testpmd is NOT able to receive and forward packets successfully.
+16. Run ``set promisc all on`` to enable promiscuous mode on all ports.
+17. Send packets with unicast dst not same to port address.
+18. Check that testpmd is able to receive and forward packets successfully.
+
Test Case: Reconfigure All Ports With The Same Configurations (CRC)
-------------------------------------------------------------------
--
2.7.5
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [dts] [PATCH] test_plan/shutdown_api: add allmulticast mode test plan
2020-04-26 3:54 [dts] [PATCH] test_plan/shutdown_api: add allmulticast mode test plan Xueqin Lin
@ 2020-04-27 7:51 ` Tu, Lijuan
0 siblings, 0 replies; 2+ messages in thread
From: Tu, Lijuan @ 2020-04-27 7:51 UTC (permalink / raw)
To: Lin, Xueqin, dts; +Cc: Lin, Xueqin
Applied, thanks
> -----Original Message-----
> From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of Xueqin Lin
> Sent: Sunday, April 26, 2020 11:54 AM
> To: dts@dpdk.org
> Cc: Lin, Xueqin <xueqin.lin@intel.com>
> Subject: [dts] [PATCH] test_plan/shutdown_api: add allmulticast mode test
> plan
>
> Signed-off-by: Xueqin Lin <xueqin.lin@intel.com>
>
> ---
> test_plans/shutdown_api_test_plan.rst | 24 ++++++++++++++++++++++++
> 1 file changed, 24 insertions(+)
>
> diff --git a/test_plans/shutdown_api_test_plan.rst
> b/test_plans/shutdown_api_test_plan.rst
> index c2dd415..83a495a 100644
> --- a/test_plans/shutdown_api_test_plan.rst
> +++ b/test_plans/shutdown_api_test_plan.rst
> @@ -114,6 +114,30 @@ Test Case: Set promiscuous mode
> and receive packets, and check that testpmd is able to receive and forward
> packets
> successfully.
>
> +Test Case: Set allmulticast mode
> +--------------------------------
> +
> +1. If the testpmd application is not launched, run it as above command.
> Follow
> + below steps to check if allmulticast mode setting works well after
> reconfiguring
> + it while all ports are stopped.
> +2. Run ``set promisc all off`` to disable promiscuous mode on all ports.
> +3. Run ``set allmulti all off`` to disable allmulticast mode on all ports.
> +4. Run ``start`` again to restart the forwarding.
> +5. Send packets with dst same to port address.
> +6. Check that testpmd is able to receive and forward packets successfully.
> +7. Send packets with unicast dst not same to port address.
> +8. Check that testpmd is NOT able to receive and forward packets
> successfully.
> +9. Send packets with multicast dst ``01:00:00:33:00:01`` packets.
> +10. Check that testpmd is NOT able to receive and forward packets
> successfully.
> +11. Run ``set allmulti all on`` to enable allmulticast mode on all ports.
> +12. Send packets with multicast dst ``01:00:00:33:00:01`` packets.
> +13. Check that testpmd is able to receive and forward packets successfully.
> +14. Send packets with unicast dst not same to port address.
> +15. Check that testpmd is NOT able to receive and forward packets
> successfully.
> +16. Run ``set promisc all on`` to enable promiscuous mode on all ports.
> +17. Send packets with unicast dst not same to port address.
> +18. Check that testpmd is able to receive and forward packets successfully.
> +
> Test Case: Reconfigure All Ports With The Same Configurations (CRC)
> -------------------------------------------------------------------
>
> --
> 2.7.5
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-04-27 7:51 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-26 3:54 [dts] [PATCH] test_plan/shutdown_api: add allmulticast mode test plan Xueqin Lin
2020-04-27 7:51 ` Tu, Lijuan
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).