numam-dpdk/drivers/net/avf
Olivier Matz caccf8b318 ethdev: return diagnostic when setting MAC address
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@6wind.com>
Signed-off-by: Ivan Malov <ivan.malov@oktetlabs.ru>
Acked-by: Andrew Rybchenko <arybchenko@solarflare.com>
Acked-by: Adrien Mazarguil <adrien.mazarguil@6wind.com>
Acked-by: Shreyansh Jain <shreyansh.jain@nxp.com>
Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
Acked-by: Thomas Monjalon <thomas@monjalon.net>
Acked-by: Nelio Laranjeiro <nelio.laranjeiro@6wind.com>
2018-04-14 00:43:30 +02:00
..
base net/avf/base: add base code for avf PMD 2018-01-16 18:47:49 +01:00
avf_ethdev.c ethdev: return diagnostic when setting MAC address 2018-04-14 00:43:30 +02:00
avf_log.h net/avf: enable basic Rx Tx 2018-01-16 18:47:49 +01:00
avf_rxtx_vec_common.h ethdev: separate driver APIs 2018-01-22 01:26:49 +01:00
avf_rxtx_vec_sse.c ethdev: separate driver APIs 2018-01-22 01:26:49 +01:00
avf_rxtx.c net/avf: convert to new Rx and Tx offload API 2018-04-14 00:40:21 +02:00
avf_rxtx.h net/avf: convert to new Rx and Tx offload API 2018-04-14 00:40:21 +02:00
avf_vchnl.c ethdev: separate driver APIs 2018-01-22 01:26:49 +01:00
avf.h net/avf: enable bulk allocate Rx 2018-01-16 18:47:49 +01:00
Makefile net/avf: fix makefile typo 2018-01-21 15:51:52 +01:00
rte_pmd_avf_version.map net/avf: initialize PMD 2018-01-16 18:47:49 +01:00