diff options
author | Yuval Mintz <yuvalmin@broadcom.com> | 2012-03-18 10:33:44 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-03-19 16:53:07 -0400 |
commit | cb4dca277694f6c53bf6daf0f5c609dda32e4656 (patch) | |
tree | 8fc3b86f357d9fd3e8b591582cb058ce2117daf1 /drivers/net/ethernet/broadcom/bnx2x/bnx2x.h | |
parent | 9e62e912e56742af7eb7e0eeba3c7af4bb2f8537 (diff) | |
download | op-kernel-dev-cb4dca277694f6c53bf6daf0f5c609dda32e4656.zip op-kernel-dev-cb4dca277694f6c53bf6daf0f5c609dda32e4656.tar.gz |
bnx2x: consistent statistics for old FW
Previously applied patch making the bnx2x statistics consistent
did not apply to old FWs. This remedies it, extending the consistent
behaviour to all drivers.
Signed-off-by: Yuval Mintz <yuvalmin@broadcom.com>
Signed-off-by: Eilon Greenstein <eilong@broadcom.com>
Reported-by: Michal Schmidt <mschmidt@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/broadcom/bnx2x/bnx2x.h')
-rw-r--r-- | drivers/net/ethernet/broadcom/bnx2x/bnx2x.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/broadcom/bnx2x/bnx2x.h b/drivers/net/ethernet/broadcom/bnx2x/bnx2x.h index 562cec3..e37161f 100644 --- a/drivers/net/ethernet/broadcom/bnx2x/bnx2x.h +++ b/drivers/net/ethernet/broadcom/bnx2x/bnx2x.h @@ -1482,6 +1482,7 @@ struct bnx2x { u16 stats_counter; struct bnx2x_eth_stats eth_stats; + struct host_func_stats func_stats; struct bnx2x_eth_stats_old eth_stats_old; struct bnx2x_net_stats_old net_stats_old; struct bnx2x_fw_port_stats_old fw_stats_old; |