d5b0924ba6
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> |
||
---|---|---|
.. | ||
bnx2x_ethdev.c | ||
bnx2x_ethdev.h | ||
bnx2x_logs.h | ||
bnx2x_rxtx.c | ||
bnx2x_rxtx.h | ||
bnx2x_stats.c | ||
bnx2x_stats.h | ||
bnx2x_vfpf.c | ||
bnx2x_vfpf.h | ||
bnx2x.c | ||
bnx2x.h | ||
ecore_fw_defs.h | ||
ecore_hsi.h | ||
ecore_init_ops.h | ||
ecore_init.h | ||
ecore_mfw_req.h | ||
ecore_reg.h | ||
ecore_sp.c | ||
ecore_sp.h | ||
elink.c | ||
elink.h | ||
LICENSE.bnx2x_pmd | ||
Makefile | ||
rte_pmd_bnx2x_version.map |