diff options
author | Ariel Elior <ariele@broadcom.com> | 2013-03-27 01:05:15 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-03-27 16:48:32 (GMT) |
commit | 5b0752c863d70cd1cc96d22eebfc991dd67864de (patch) | |
tree | 80c08c606d52bed52065fc165f7a0a244893ed2f /drivers/net/ethernet/broadcom/bnx2x/bnx2x_stats.h | |
parent | 109386047a02e255e05a2ab1ed567e6fdf39c5dd (diff) | |
download | linux-fsl-qoriq-5b0752c863d70cd1cc96d22eebfc991dd67864de.tar.xz |
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.h | 2 |
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 198f6f1..d117f47 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); /** |