numam-dpdk/drivers/net/failsafe
Matan Azrad d5b0924ba6 ethdev: add return value to stats get dev op
The stats_get dev op API doesn't include return value, so PMD cannot
return an error in case of failure at stats getting process time.

Since PCI devices can be removed and there is a time between the
physical removal to the RMV interrupt, the user may get invalid stats
without any indication.

This patch changes the stats_get API return value to be int instead of
void.

All the net PMDs stats_get dev ops are adjusted by this patch.

Signed-off-by: Matan Azrad <matan@mellanox.com>
Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
2017-10-12 01:52:49 +01:00
..
failsafe_args.c net/failsafe: fix errno set on command execution 2017-10-06 02:49:47 +02:00
failsafe_eal.c net/failsafe: fix failsafe bus uninit return value 2017-10-06 02:49:47 +02:00
failsafe_ether.c ethdev: increase port id range 2017-10-06 18:23:25 +02:00
failsafe_flow.c net/failsafe: support flow API isolation mode 2017-07-19 16:25:43 +03:00
failsafe_ops.c ethdev: add return value to stats get dev op 2017-10-12 01:52:49 +01:00
failsafe_private.h ethdev: increase port id range 2017-10-06 18:23:25 +02:00
failsafe_rxtx.c net/failsafe: support device removal 2017-07-19 16:25:43 +03:00
failsafe.c net/failsafe: support link status change event 2017-07-19 16:25:43 +03:00
Makefile net/failsafe: fix build on FreeBSD 10 with GCC 4.8 2017-07-20 18:30:20 +03:00
rte_pmd_failsafe_version.map net/failsafe: add fail-safe PMD 2017-07-19 16:25:42 +03:00