[PATCH] app/testpmd: add flush multicast MAC address command

Stephen Hemminger stephen at networkplumber.org
Tue Aug 1 17:18:21 CEST 2023


On Tue, 1 Aug 2023 10:43:04 +0800
Dengdui Huang <huangdengdui at huawei.com> wrote:

> diff --git a/app/test-pmd/cmdline.c b/app/test-pmd/cmdline.c
> index 0d0723f659..2d9d925776 100644
> --- a/app/test-pmd/cmdline.c
> +++ b/app/test-pmd/cmdline.c
> @@ -494,6 +494,9 @@ static void cmd_help_long_parsed(void *parsed_result,
>  			"mac_addr remove (port_id) (XX:XX:XX:XX:XX:XX)\n"
>  			"    Remove a MAC address from port_id.\n\n"
>  
> +			"mcast_addr flush (port_id)\n"
> +			"    To flush the set of multicast addresses.\n\n"
> +
>  			"mac_addr set (port_id) (XX:XX:XX:XX:XX:XX)\n"
>  			"    Set the default MAC address for port_id.\n\n"

Why out this in middle of the mac_addr commands? better to be in logical or alpha order.


More information about the dev mailing list