numam-dpdk/drivers/net/tap
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
..
Makefile drivers/net: remove unused DEPDIRS from makefiles 2017-04-06 20:58:59 +02:00
rte_eth_tap.c ethdev: add return value to stats get dev op 2017-10-12 01:52:49 +01:00
rte_eth_tap.h net/tap: fix flow and port commands 2017-10-06 02:49:48 +02:00
rte_pmd_tap_version.map net/tap: add TUN/TAP device PMD 2017-01-17 19:40:50 +01:00
tap_flow.c net/tap: allow RSS flow action 2017-10-06 02:49:50 +02:00
tap_flow.h net/tap: support flow API isolated mode 2017-07-06 15:00:56 +02:00
tap_netlink.c net/tap: update netlink error code management 2017-04-04 19:03:03 +02:00
tap_netlink.h net/tap: add link status notification 2017-04-04 18:59:47 +02:00
tap_tcmsgs.c net/tap: update netlink error code management 2017-04-04 19:03:03 +02:00
tap_tcmsgs.h net/tap: update netlink error code management 2017-04-04 19:03:03 +02:00