caccf8b318
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> |
||
---|---|---|
.. | ||
ark_ddm.c | ||
ark_ddm.h | ||
ark_ethdev_rx.c | ||
ark_ethdev_rx.h | ||
ark_ethdev_tx.c | ||
ark_ethdev_tx.h | ||
ark_ethdev.c | ||
ark_ext.h | ||
ark_global.h | ||
ark_logs.h | ||
ark_mpu.c | ||
ark_mpu.h | ||
ark_pktchkr.c | ||
ark_pktchkr.h | ||
ark_pktdir.c | ||
ark_pktdir.h | ||
ark_pktgen.c | ||
ark_pktgen.h | ||
ark_rqp.c | ||
ark_rqp.h | ||
ark_udm.c | ||
ark_udm.h | ||
Makefile | ||
rte_pmd_ark_version.map |