Skip to content

Commit 42661fb

Browse files
huangdengdui1ferruhy
authored andcommitted
app/testpmd: fix help string
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]>
1 parent 030025b commit 42661fb

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

app/test-pmd/cmdline.c

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -500,6 +500,12 @@ static void cmd_help_long_parsed(void *parsed_result,
500500
"mac_addr add port (port_id) vf (vf_id) (mac_address)\n"
501501
" Add a MAC address for a VF on the port.\n\n"
502502

503+
"mcast_addr add (port_id) (mcast_addr)\n"
504+
" Add a multicast MAC addresses on port_id.\n\n"
505+
506+
"mcast_addr remove (port_id) (mcast_addr)\n"
507+
" Remove a multicast MAC address from port_id.\n\n"
508+
503509
"set vf mac addr (port_id) (vf_id) (XX:XX:XX:XX:XX:XX)\n"
504510
" Set the MAC address for a VF from the PF.\n\n"
505511

0 commit comments

Comments
 (0)