[PATCH] ethdev: fix MAC address in telemetry device info

Ferruh Yigit ferruh.yigit at intel.com
Wed Feb 16 17:33:16 CET 2022


On 2/16/2022 2:13 PM, David Marchand wrote:
> The right size for a human readable mac is RTE_ETHER_ADDR_FMT_SIZE.
> While at it, the net library provides a helper for mac address
> formatting. Prefer it.
> 
> Fixes: 58b43c1ddfd1 ("ethdev: add telemetry endpoint for device info")
> Cc:stable at dpdk.org
> 
> Reported-by: Christophe Fontaine<cfontain at redhat.com>
> Signed-off-by: David Marchand<david.marchand at redhat.com>
> 

Reviewed-by: Ferruh Yigit <ferruh.yigit at intel.com>

Applied to dpdk-next-net/main, thanks.


More information about the dev mailing list