[dpdk-dev] [PATCH] app/testpmd: show mac addresses added to a port
Ferruh Yigit
ferruh.yigit at intel.com
Tue Dec 3 13:01:30 CET 2019
On 12/3/2019 11:59 AM, Ferruh Yigit wrote:
> On 11/25/2019 8:27 AM, Kalesh A P wrote:
>> From: Kalesh AP <kalesh-anakkur.purayil at broadcom.com>
>>
>> Patch adds a runtime function to display the unicast and
>> multicast MAC addresses added to a port.
>>
>> Syntax:
>> show port (port_id) macs|mcast_macs
>>
>> Usage:
>> testpmd> show port 0 macs
>> Number of MAC address added: 1
>> B0:26:28:7F:F5:C1
>> testpmd>
>> testpmd> show port 0 mcast_macs
>> Number of Multicast MAC address added: 0
>> testpmd>
>> testpmd> mac_addr add 0 B0:26:28:7F:22:33
>> testpmd> mac_addr add 0 B0:26:28:7F:22:34
>> testpmd> show port 0 macs
>> Number of MAC address added: 3
>> B0:26:28:7F:F5:C1
>> B0:26:28:7F:22:33
>> B0:26:28:7F:22:34
>> testpmd>
>> testpmd> mac_addr remove 0 B0:26:28:7F:22:33
>> testpmd> show port 0 macs
>> Number of MAC address added: 2
>> B0:26:28:7F:F5:C1
>> B0:26:28:7F:22:34
>>
>> Signed-off-by: Kalesh AP <kalesh-anakkur.purayil at broadcom.com>
>> Reviewed-by: Ajit Khaparde <ajit.khaparde at broadcom.com>
>
> Reviewed-by: Ferruh Yigit <ferruh.yigit at intel.com>
Applied to dpdk-next-net/master, thanks.
(fixed doc warnings while merging.)
More information about the dev
mailing list