[dpdk-dev] [PATCH v4] ethdev: return diagnostic when setting MAC address

Ferruh Yigit ferruh.yigit at intel.com
Wed Apr 11 21:30:06 CEST 2018


On 4/11/2018 5:32 PM, Olivier Matz wrote:
> Change the prototype and the behavior of dev_ops->eth_mac_addr_set(): a
> return code is added to notify the caller (librte_ether) if an error
> occurred in the PMD.
> 
> The new default MAC address is now copied in dev->data->mac_addrs[0]
> only if the operation is successful.
> 
> The patch also updates all the PMDs accordingly.
> 
> Signed-off-by: Olivier Matz <olivier.matz at 6wind.com>
> Signed-off-by: Ivan Malov <ivan.malov at oktetlabs.ru>
> Acked-by: Andrew Rybchenko <arybchenko at solarflare.com>
> Acked-by: Adrien Mazarguil <adrien.mazarguil at 6wind.com>
> Acked-by: Shreyansh Jain <shreyansh.jain at nxp.com>
> Reviewed-by: Ferruh Yigit <ferruh.yigit at intel.com>
> Acked-by: Thomas Monjalon <thomas at monjalon.net>
> Acked-by: Nelio Laranjeiro <nelio.laranjeiro at 6wind.com>

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


More information about the dev mailing list