Skip to content

Commit

Permalink
app/testpmd: fix help string
Browse files Browse the repository at this point in the history
Command help string is missing 'mcast_addr add|remove'.
This patch add it.

Fixes: 8fff667 ("app/testpmd: new command to add/remove multicast MAC addresses")
Cc: [email protected]

Signed-off-by: Dengdui Huang <[email protected]>
Acked-by: Chengwen Feng <[email protected]>
Acked-by: Ferruh Yigit <[email protected]>
huangdengdui1 authored and ferruhy committed Oct 9, 2023
1 parent 030025b commit 42661fb
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions app/test-pmd/cmdline.c
Original file line number Diff line number Diff line change
@@ -500,6 +500,12 @@ static void cmd_help_long_parsed(void *parsed_result,
"mac_addr add port (port_id) vf (vf_id) (mac_address)\n"
" Add a MAC address for a VF on the port.\n\n"

"mcast_addr add (port_id) (mcast_addr)\n"
" Add a multicast MAC addresses on port_id.\n\n"

"mcast_addr remove (port_id) (mcast_addr)\n"
" Remove a multicast MAC address from port_id.\n\n"

"set vf mac addr (port_id) (vf_id) (XX:XX:XX:XX:XX:XX)\n"
" Set the MAC address for a VF from the PF.\n\n"

0 comments on commit 42661fb

Please sign in to comment.