summaryrefslogtreecommitdiffstats
path: root/drivers/net/chelsio/sge.h
diff options
context:
space:
mode:
authorDivy Le Ray <divy@chelsio.com>2007-11-27 13:30:20 -0800
committerJeff Garzik <jeff@garzik.org>2007-12-01 16:32:31 -0500
commite0348b9ae5374f9a24424ae680bcd80724415f60 (patch)
treef6934ec91bc1f4524991232189d40fc5bf765f81 /drivers/net/chelsio/sge.h
parent445cf803ca757a5c43f4e11fdfba70355d510841 (diff)
downloadtalos-op-linux-e0348b9ae5374f9a24424ae680bcd80724415f60.tar.gz
talos-op-linux-e0348b9ae5374f9a24424ae680bcd80724415f60.zip
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 {
};
struct sge_port_stats {
- u64 rx_packets; /* # of Ethernet packets received */
u64 rx_cso_good; /* # of successful RX csum offloads */
- u64 tx_packets; /* # of TX packets */
u64 tx_cso; /* # of TX checksum offloads */
u64 tx_tso; /* # of TSO requests */
u64 vlan_xtract; /* # of VLAN tag extractions */
OpenPOWER on IntegriCloud