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

2018-04-11 Thread Ferruh Yigit
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 o

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

2018-04-11 Thread Olivier Matz
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 th