On 4/6/2018 4:34 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.m...@6wind.com> > Signed-off-by: Ivan Malov <ivan.ma...@oktetlabs.ru> > Acked-by: Andrew Rybchenko <arybche...@solarflare.com> > Acked-by: Adrien Mazarguil <adrien.mazarg...@6wind.com> > Acked-by: Shreyansh Jain <shreyansh.j...@nxp.com>
Reviewed-by: Ferruh Yigit <ferruh.yi...@intel.com>