diff options
author | Ron Mercer <ron.mercer@qlogic.com> | 2009-10-10 05:35:10 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-10-12 02:16:18 -0400 |
commit | 6abd23468deaf3f6215a80b564f85df934209721 (patch) | |
tree | f93e569657d0085894d230920bbec07bb2cd0d01 /drivers/net/qlge/qlge.h | |
parent | 80928860941023bb37e9c61927395d0eb753bc3b (diff) |
qlge: Add CBFC pause frame counters to ethtool stats.
Signed-off-by: Ron Mercer <ron.mercer@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/qlge/qlge.h')
-rw-r--r-- | drivers/net/qlge/qlge.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/drivers/net/qlge/qlge.h b/drivers/net/qlge/qlge.h index cef930bfcc79..421471790601 100644 --- a/drivers/net/qlge/qlge.h +++ b/drivers/net/qlge/qlge.h | |||
@@ -1363,6 +1363,27 @@ struct nic_stats { | |||
1363 | u64 rx_1024_to_1518_pkts; | 1363 | u64 rx_1024_to_1518_pkts; |
1364 | u64 rx_1519_to_max_pkts; | 1364 | u64 rx_1519_to_max_pkts; |
1365 | u64 rx_len_err_pkts; | 1365 | u64 rx_len_err_pkts; |
1366 | /* | ||
1367 | * These stats come from offset 500h to 5C8h | ||
1368 | * in the XGMAC register. | ||
1369 | */ | ||
1370 | u64 tx_cbfc_pause_frames0; | ||
1371 | u64 tx_cbfc_pause_frames1; | ||
1372 | u64 tx_cbfc_pause_frames2; | ||
1373 | u64 tx_cbfc_pause_frames3; | ||
1374 | u64 tx_cbfc_pause_frames4; | ||
1375 | u64 tx_cbfc_pause_frames5; | ||
1376 | u64 tx_cbfc_pause_frames6; | ||
1377 | u64 tx_cbfc_pause_frames7; | ||
1378 | u64 rx_cbfc_pause_frames0; | ||
1379 | u64 rx_cbfc_pause_frames1; | ||
1380 | u64 rx_cbfc_pause_frames2; | ||
1381 | u64 rx_cbfc_pause_frames3; | ||
1382 | u64 rx_cbfc_pause_frames4; | ||
1383 | u64 rx_cbfc_pause_frames5; | ||
1384 | u64 rx_cbfc_pause_frames6; | ||
1385 | u64 rx_cbfc_pause_frames7; | ||
1386 | u64 rx_nic_fifo_drop; | ||
1366 | }; | 1387 | }; |
1367 | 1388 | ||
1368 | /* | 1389 | /* |