summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/broadcom/bnx2x/bnx2x_stats.h
diff options
context:
space:
mode:
authorAriel Elior <ariele@broadcom.com>2013-03-27 01:05:15 +0000
committerDavid S. Miller <davem@davemloft.net>2013-03-27 12:48:32 -0400
commit5b0752c863d70cd1cc96d22eebfc991dd67864de (patch)
tree80c08c606d52bed52065fc165f7a0a244893ed2f /drivers/net/ethernet/broadcom/bnx2x/bnx2x_stats.h
parent109386047a02e255e05a2ab1ed567e6fdf39c5dd (diff)
bnx2x: Fix VF statistics
After a VF performs load/unload its statistics become corrupt - we now zero the statistics structures upon a VF device load. Signed-off-by: Ariel Elior <ariele@broadcom.com> Signed-off-by: Yuval Mintz <yuvalmin@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/broadcom/bnx2x/bnx2x_stats.h')
-rw-r--r--drivers/net/ethernet/broadcom/bnx2x/bnx2x_stats.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/broadcom/bnx2x/bnx2x_stats.h b/drivers/net/ethernet/broadcom/bnx2x/bnx2x_stats.h
index 198f6f1c9ad..d117f472816 100644
--- a/drivers/net/ethernet/broadcom/bnx2x/bnx2x_stats.h
+++ b/drivers/net/ethernet/broadcom/bnx2x/bnx2x_stats.h
@@ -540,8 +540,8 @@ struct bnx2x_fw_port_stats_old {
/* forward */
struct bnx2x;
+void bnx2x_memset_stats(struct bnx2x *bp);
void bnx2x_stats_init(struct bnx2x *bp);
-
void bnx2x_stats_handle(struct bnx2x *bp, enum bnx2x_stats_event event);
/**