numam-dpdk/drivers/net/bnx2x
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
..
bnx2x_ethdev.c ethdev: add return value to stats get dev op 2017-10-12 01:52:49 +01:00
bnx2x_ethdev.h bnx2x: add license file 2015-12-13 01:58:10 +01:00
bnx2x_logs.h bnx2x: add license file 2015-12-13 01:58:10 +01:00
bnx2x_rxtx.c drivers/net: do not use ethdev driver 2017-04-18 19:05:46 +02:00
bnx2x_rxtx.h ethdev: increase port id range 2017-10-06 18:23:25 +02:00
bnx2x_stats.c fix typos using codespell utility 2017-06-14 23:54:13 +02:00
bnx2x_stats.h bnx2x: add license file 2015-12-13 01:58:10 +01:00
bnx2x_vfpf.c net/bnx2x: fix Rx mode configuration 2017-01-30 22:18:26 +01:00
bnx2x_vfpf.h fix typos using codespell utility 2017-06-14 23:54:13 +02:00
bnx2x.c net/bnx2x: remove unnecessary void casts 2017-10-06 02:49:48 +02:00
bnx2x.h net/bnx2x: remove unnecessary void casts 2017-10-06 02:49:48 +02:00
ecore_fw_defs.h bnx2x: add license file 2015-12-13 01:58:10 +01:00
ecore_hsi.h fix typos using codespell utility 2017-06-14 23:54:13 +02:00
ecore_init_ops.h bnx2x: add license file 2015-12-13 01:58:10 +01:00
ecore_init.h fix typos using codespell utility 2017-06-14 23:54:13 +02:00
ecore_mfw_req.h bnx2x: add license file 2015-12-13 01:58:10 +01:00
ecore_reg.h bnx2x: add license file 2015-12-13 01:58:10 +01:00
ecore_sp.c fix typos using codespell utility 2017-06-14 23:54:13 +02:00
ecore_sp.h net/bnx2x: remove unnecessary void casts 2017-10-06 02:49:48 +02:00
elink.c fix typos using codespell utility 2017-06-14 23:54:13 +02:00
elink.h net/bnx2x: remove unused preprocessor code 2016-10-13 15:30:59 +02:00
LICENSE.bnx2x_pmd bnx2x: add license file 2015-12-13 01:58:10 +01:00
Makefile mk: optimize directory dependencies 2017-03-27 23:28:43 +02:00
rte_pmd_bnx2x_version.map bnx2x: driver support routines 2015-07-27 04:27:10 +02:00