diff options
author | Vladislav Zolotarov <vladz@broadcom.com> | 2010-04-18 21:14:07 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-04-19 16:17:09 -0400 |
commit | dea7aab1923a9ee81c5cafaa4bd47266abf30186 (patch) | |
tree | f708fc0530d507aa78fde5c9ae23cb2805aa53a1 /drivers/net/bnx2x.h | |
parent | cdaa7cb84b63e0491582ef62fd0c7bf22a57e519 (diff) |
bnx2x: Added new statistics
Added total_mcast/bcast_pkts_transmitted statistics.
Author: Dmitry Kravkov <dmitry@broadcom.com>
Signed-off-by: Dmitry Kravkov <dmitry@broadcom.com>
Signed-off-by: Vladislav Zolotarov <vladz@broadcom.com>
Signed-off-by: Eilon Greenstein <eilong@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/bnx2x.h')
-rw-r--r-- | drivers/net/bnx2x.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/bnx2x.h b/drivers/net/bnx2x.h index bdfe084b8abe..ceb8a42b945c 100644 --- a/drivers/net/bnx2x.h +++ b/drivers/net/bnx2x.h | |||
@@ -272,7 +272,7 @@ struct bnx2x_eth_q_stats { | |||
272 | u32 hw_csum_err; | 272 | u32 hw_csum_err; |
273 | }; | 273 | }; |
274 | 274 | ||
275 | #define BNX2X_NUM_Q_STATS 11 | 275 | #define BNX2X_NUM_Q_STATS 13 |
276 | #define Q_STATS_OFFSET32(stat_name) \ | 276 | #define Q_STATS_OFFSET32(stat_name) \ |
277 | (offsetof(struct bnx2x_eth_q_stats, stat_name) / 4) | 277 | (offsetof(struct bnx2x_eth_q_stats, stat_name) / 4) |
278 | 278 | ||
@@ -778,7 +778,7 @@ struct bnx2x_eth_stats { | |||
778 | u32 nig_timer_max; | 778 | u32 nig_timer_max; |
779 | }; | 779 | }; |
780 | 780 | ||
781 | #define BNX2X_NUM_STATS 41 | 781 | #define BNX2X_NUM_STATS 43 |
782 | #define STATS_OFFSET32(stat_name) \ | 782 | #define STATS_OFFSET32(stat_name) \ |
783 | (offsetof(struct bnx2x_eth_stats, stat_name) / 4) | 783 | (offsetof(struct bnx2x_eth_stats, stat_name) / 4) |
784 | 784 | ||