aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/chelsio/sge.h
diff options
context:
space:
mode:
authorDivy Le Ray <divy@chelsio.com>2007-11-27 16:30:20 -0500
committerJeff Garzik <jeff@garzik.org>2007-12-01 16:32:31 -0500
commite0348b9ae5374f9a24424ae680bcd80724415f60 (patch)
treef6934ec91bc1f4524991232189d40fc5bf765f81 /drivers/net/chelsio/sge.h
parent445cf803ca757a5c43f4e11fdfba70355d510841 (diff)
cxgb - fix stats
Fix MAC stats accounting. Fix get_stats. Signed-off-by: Divy Le Ray <divy@chelsio.com> Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/net/chelsio/sge.h')
-rwxr-xr-xdrivers/net/chelsio/sge.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/chelsio/sge.h b/drivers/net/chelsio/sge.h
index 285bbb272ed5..cced9dff91c5 100755
--- a/drivers/net/chelsio/sge.h
+++ b/drivers/net/chelsio/sge.h
@@ -57,9 +57,7 @@ struct sge_intr_counts {
57}; 57};
58 58
59struct sge_port_stats { 59struct sge_port_stats {
60 u64 rx_packets; /* # of Ethernet packets received */
61 u64 rx_cso_good; /* # of successful RX csum offloads */ 60 u64 rx_cso_good; /* # of successful RX csum offloads */
62 u64 tx_packets; /* # of TX packets */
63 u64 tx_cso; /* # of TX checksum offloads */ 61 u64 tx_cso; /* # of TX checksum offloads */
64 u64 tx_tso; /* # of TSO requests */ 62 u64 tx_tso; /* # of TSO requests */
65 u64 vlan_xtract; /* # of VLAN tag extractions */ 63 u64 vlan_xtract; /* # of VLAN tag extractions */