bnx2x: Fix VF statistics
authorAriel Elior <ariele@broadcom.com>
Wed, 27 Mar 2013 01:05:15 +0000 (01:05 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 27 Mar 2013 16:48:32 +0000 (12:48 -0400)
commit5b0752c863d70cd1cc96d22eebfc991dd67864de
tree80c08c606d52bed52065fc165f7a0a244893ed2f
parent109386047a02e255e05a2ab1ed567e6fdf39c5dd
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>
drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c
drivers/net/ethernet/broadcom/bnx2x/bnx2x_stats.c
drivers/net/ethernet/broadcom/bnx2x/bnx2x_stats.h