[dpdk-dev] [PATCH] ethdev: return diagnostic when setting MAC address
Olivier Matz
olivier.matz at 6wind.com
Fri Apr 6 17:34:50 CEST 2018
On Fri, Apr 06, 2018 at 05:21:48PM +0200, 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>
Sorry, "v3" is missing in the subject.
Please ignore, I'm sending it again with the proper title.
More information about the dev
mailing list