numam-dpdk/drivers/net/szedata2
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
..
Makefile net/szedata2: convert license headers to SPDX tags 2018-04-14 00:40:21 +02:00
rte_eth_szedata2.c ethdev: return diagnostic when setting MAC address 2018-04-14 00:43:30 +02:00
rte_eth_szedata2.h net/szedata2: convert license headers to SPDX tags 2018-04-14 00:40:21 +02:00
rte_pmd_szedata2_version.map szedata2: add new poll mode driver 2015-11-20 17:17:04 +01:00
szedata2_iobuf.c net/szedata2: convert license headers to SPDX tags 2018-04-14 00:40:21 +02:00
szedata2_iobuf.h net/szedata2: convert license headers to SPDX tags 2018-04-14 00:40:21 +02:00
szedata2_logs.h net/szedata2: implement dynamic logging 2018-04-14 00:40:21 +02:00