25/01/2018 03:46, Wenzhuo Lu: > Setting the default MAC address may fail on many NICs. > But the ops return void. So, even it failed, RTE changes > the MAC address and APP doesn't know the failure. > > It's not real patch, just show the idea to add a return > value for the ops. > > BTW, > Seems we should do the same thing for > rte_eth_dev_mac_addr_remove as it also has chance to fail > in PMD layer. > > Signed-off-by: Wenzhuo Lu <wenzhuo...@intel.com>
Superseded by "ethdev: return diagnostic when setting MAC address" http://dpdk.org/commit/caccf8b318