numam-dpdk/drivers/net/virtio
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
..
virtio_user net/virtio-user: fix TAP name string termination 2017-10-10 15:54:31 +02:00
Makefile mk: optimize directory dependencies 2017-03-27 23:28:43 +02:00
rte_pmd_virtio_version.map virtio: move to drivers/net/ 2015-05-22 16:06:23 +02:00
virtio_ethdev.c ethdev: add return value to stats get dev op 2017-10-12 01:52:49 +01:00
virtio_ethdev.h net/virtio: fix queue setup consistency 2017-10-10 15:51:04 +02:00
virtio_logs.h virtio: fix newline under debug mode 2016-05-10 10:52:01 -07:00
virtio_pci.c net/virtio: replace magic number with PCI constant 2017-10-10 15:48:53 +02:00
virtio_pci.h net/virtio: keep Rx handler whatever the Tx queue config 2017-10-10 15:52:27 +02:00
virtio_ring.h net/virtio: fix used index retrieved only once 2016-06-22 09:47:12 +02:00
virtio_rxtx_simple_neon.c update Cavium Inc copyright headers 2017-07-08 17:43:49 +02:00
virtio_rxtx_simple_sse.c net/virtio: support to turn on/off traffic flow 2017-04-19 10:49:06 +02:00
virtio_rxtx_simple.c net/virtio: fix mbuf port for simple Rx function 2017-10-10 15:51:04 +02:00
virtio_rxtx_simple.h mbuf: make segment prefree function public 2017-04-05 11:30:29 +02:00
virtio_rxtx.c net/virtio: fix compilation with -Og 2017-10-12 01:36:57 +01:00
virtio_rxtx.h net/virtio: fix a typo 2017-10-10 15:54:31 +02:00
virtio_user_ethdev.c net/virtio: keep Rx handler whatever the Tx queue config 2017-10-10 15:52:27 +02:00
virtqueue.c net/virtio: add Rx interrupt enable/disable functions 2017-01-17 09:26:52 +01:00
virtqueue.h net/virtio: fix indent 2017-10-10 15:48:53 +02:00