numam-dpdk/drivers/net/af_packet
Igor Romanov 9970a9ad07 ethdev: make stats and xstats reset callbacks return int
Change return value of the callbacks from void to int. Make
implementations across all drivers return negative errno
values in case of error conditions.

Both callbacks are updated together because a large number of
drivers assign the same function to both callbacks.

Signed-off-by: Igor Romanov <igor.romanov@oktetlabs.ru>
Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com>
Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
2019-10-07 15:00:54 +02:00
..
Makefile use SPDX tag for 6WIND copyrighted files 2018-05-25 10:47:06 +02:00
meson.build drivers: add reasons for components being disabled 2019-07-02 23:21:11 +02:00
rte_eth_af_packet.c ethdev: make stats and xstats reset callbacks return int 2019-10-07 15:00:54 +02:00
rte_pmd_af_packet_version.map af_packet: make the device detachable 2016-03-16 19:05:47 +01:00