numam-dpdk/drivers/net/ark
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
..
ark_ddm.c drivers/net: rename physical address type to IOVA 2017-11-06 22:44:26 +01:00
ark_ddm.h drivers/net: rename physical address type to IOVA 2017-11-06 22:44:26 +01:00
ark_ethdev_rx.c drivers/net: fix number of segment storage type 2017-11-10 09:17:13 +00:00
ark_ethdev_rx.h ethdev: separate driver APIs 2018-01-22 01:26:49 +01:00
ark_ethdev_tx.c drivers/net: rename physical address type to IOVA 2017-11-06 22:44:26 +01:00
ark_ethdev_tx.h ethdev: separate driver APIs 2018-01-22 01:26:49 +01:00
ark_ethdev.c ethdev: return diagnostic when setting MAC address 2018-04-14 00:43:30 +02:00
ark_ext.h ethdev: separate driver APIs 2018-01-22 01:26:49 +01:00
ark_global.h ethdev: separate driver APIs 2018-01-22 01:26:49 +01:00
ark_logs.h
ark_mpu.c drivers/net: rename physical address type to IOVA 2017-11-06 22:44:26 +01:00
ark_mpu.h drivers/net: rename physical address type to IOVA 2017-11-06 22:44:26 +01:00
ark_pktchkr.c ethdev: separate driver APIs 2018-01-22 01:26:49 +01:00
ark_pktchkr.h net/ark: provide API for hardware modules pktchkr and pktgen 2017-04-19 15:37:37 +02:00
ark_pktdir.c net/ark: add null pointer check 2017-10-06 02:49:49 +02:00
ark_pktdir.h
ark_pktgen.c ethdev: separate driver APIs 2018-01-22 01:26:49 +01:00
ark_pktgen.h net/ark: provide API for hardware modules pktchkr and pktgen 2017-04-19 15:37:37 +02:00
ark_rqp.c net/ark: report hardware status on init 2017-04-19 15:37:37 +02:00
ark_rqp.h net/ark: report hardware status on init 2017-04-19 15:37:37 +02:00
ark_udm.c drivers/net: rename physical address type to IOVA 2017-11-06 22:44:26 +01:00
ark_udm.h drivers/net: rename physical address type to IOVA 2017-11-06 22:44:26 +01:00
Makefile pci: introduce library and driver 2017-10-26 23:17:31 +02:00
rte_pmd_ark_version.map