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

2018-04-10 Thread Thomas Monjalon
06/04/2018 18:03, Ferruh Yigit: > 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

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

2018-04-06 Thread Ferruh Yigit
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 op

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

2018-04-06 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