numam-dpdk/test
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
..
cmdline_test test: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
test ethdev: return diagnostic when setting MAC address 2018-04-14 00:43:30 +02:00
test-acl test: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
test-pipeline test: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
Makefile test: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
meson.build test: build app with meson as dpdk-test 2018-01-30 21:58:59 +01:00