numam-dpdk/drivers/net
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
..
af_packet ethdev: add return value to stats get dev op 2017-10-12 01:52:49 +01:00
ark ethdev: add return value to stats get dev op 2017-10-12 01:52:49 +01:00
avp ethdev: add return value to stats get dev op 2017-10-12 01:52:49 +01:00
bnx2x ethdev: add return value to stats get dev op 2017-10-12 01:52:49 +01:00
bnxt ethdev: add return value to stats get dev op 2017-10-12 01:52:49 +01:00
bonding ethdev: add return value to stats get dev op 2017-10-12 01:52:49 +01:00
cxgbe ethdev: add return value to stats get dev op 2017-10-12 01:52:49 +01:00
dpaa ethdev: add return value to stats get dev op 2017-10-12 01:52:49 +01:00
dpaa2 ethdev: add return value to stats get dev op 2017-10-12 01:52:49 +01:00
e1000 ethdev: add return value to stats get dev op 2017-10-12 01:52:49 +01:00
ena ethdev: add return value to stats get dev op 2017-10-12 01:52:49 +01:00
enic ethdev: add return value to stats get dev op 2017-10-12 01:52:49 +01:00
failsafe ethdev: add return value to stats get dev op 2017-10-12 01:52:49 +01:00
fm10k ethdev: add return value to stats get dev op 2017-10-12 01:52:49 +01:00
i40e ethdev: add return value to stats get dev op 2017-10-12 01:52:49 +01:00
ixgbe ethdev: add return value to stats get dev op 2017-10-12 01:52:49 +01:00
kni ethdev: add return value to stats get dev op 2017-10-12 01:52:49 +01:00
liquidio ethdev: add return value to stats get dev op 2017-10-12 01:52:49 +01:00
mlx4 ethdev: add return value to stats get dev op 2017-10-12 01:52:49 +01:00
mlx5 ethdev: add return value to stats get dev op 2017-10-12 01:52:49 +01:00
mrvl ethdev: add return value to stats get dev op 2017-10-12 01:52:49 +01:00
nfp ethdev: add return value to stats get dev op 2017-10-12 01:52:49 +01:00
null ethdev: add return value to stats get dev op 2017-10-12 01:52:49 +01:00
octeontx ethdev: add return value to stats get dev op 2017-10-12 01:52:49 +01:00
pcap ethdev: add return value to stats get dev op 2017-10-12 01:52:49 +01:00
qede ethdev: add return value to stats get dev op 2017-10-12 01:52:49 +01:00
ring ethdev: add return value to stats get dev op 2017-10-12 01:52:49 +01:00
sfc ethdev: add return value to stats get dev op 2017-10-12 01:52:49 +01:00
softnic net/softnic: add TM hierarchy related ops 2017-10-12 01:52:48 +01:00
szedata2 ethdev: add return value to stats get dev op 2017-10-12 01:52:49 +01:00
tap ethdev: add return value to stats get dev op 2017-10-12 01:52:49 +01:00
thunderx ethdev: add return value to stats get dev op 2017-10-12 01:52:49 +01:00
vhost ethdev: add return value to stats get dev op 2017-10-12 01:52:49 +01:00
virtio ethdev: add return value to stats get dev op 2017-10-12 01:52:49 +01:00
vmxnet3 ethdev: add return value to stats get dev op 2017-10-12 01:52:49 +01:00
Makefile net/softnic: add softnic PMD 2017-10-12 01:52:38 +01:00