numam-dpdk/drivers/net/cxgbe
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
..
base net/cxgbe: fix memory leak 2017-10-06 02:49:48 +02:00
cxgbe_compat.h net/cxgbe: improve latency for slow traffic 2017-06-12 10:41:27 +01:00
cxgbe_ethdev.c ethdev: add return value to stats get dev op 2017-10-12 01:52:49 +01:00
cxgbe_main.c drivers/net: remove duplicate includes 2017-07-16 17:30:24 +02:00
cxgbe.h net/cxgbe: fix supported speed capabilities 2017-07-06 15:00:57 +02:00
Makefile mk: optimize directory dependencies 2017-03-27 23:28:43 +02:00
rte_pmd_cxgbe_version.map cxgbe: add pmd skeleton 2015-06-30 22:46:42 +02:00
sge.c drivers/net: remove duplicate includes 2017-07-16 17:30:24 +02:00