[dts] [PATCH] test_plan/shutdown_api: add allmulticast mode test plan

Tu, Lijuan lijuan.tu at intel.com
Mon Apr 27 09:51:28 CEST 2020


Applied, thanks

> -----Original Message-----
> From: dts [mailto:dts-bounces at dpdk.org] On Behalf Of Xueqin Lin
> Sent: Sunday, April 26, 2020 11:54 AM
> To: dts at dpdk.org
> Cc: Lin, Xueqin <xueqin.lin at intel.com>
> Subject: [dts] [PATCH] test_plan/shutdown_api: add allmulticast mode test
> plan
> 
> Signed-off-by: Xueqin Lin <xueqin.lin at 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



More information about the dts mailing list