numam-dpdk/drivers/net/e1000
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/e1000/base: fix multicast setting in VF 2017-04-04 15:52:50 +02:00
e1000_ethdev.h net/e1000: include PCI header directly 2017-07-09 00:03:09 +02:00
e1000_logs.h drivers: allow pruning log during build 2015-07-30 20:16:04 +02:00
em_ethdev.c ethdev: add return value to stats get dev op 2017-10-12 01:52:49 +01:00
em_rxtx.c mem: remove API to get physical address in dom0 2017-10-09 01:52:37 +02:00
igb_ethdev.c ethdev: add return value to stats get dev op 2017-10-12 01:52:49 +01:00
igb_flow.c net/igb: remove unnecessary void casts 2017-10-06 02:49:48 +02:00
igb_pf.c drivers/net: add generic ethdev macro to get PCI device 2017-06-12 10:41:25 +01:00
igb_regs.h igb: add access to specific device info 2015-07-16 23:56:13 +02:00
igb_rxtx.c mem: remove API to get physical address in dom0 2017-10-09 01:52:37 +02:00
Makefile net/igb: parse flow API n-tuple filter 2017-06-12 11:38:45 +01:00
rte_pmd_e1000_version.map e1000: move to drivers/net/ 2015-05-22 15:51:38 +02:00