aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/qlcnic
diff options
context:
space:
mode:
authorSucheta Chakraborty <sucheta.chakraborty@qlogic.com>2010-05-16 21:22:10 -0400
committerDavid S. Miller <davem@davemloft.net>2010-05-17 20:30:54 -0400
commit7e382594a258f8733fd5b1790dc9362a05b9dbd9 (patch)
tree4df43697293e20828c33357cc9eddf41ea6f888e /drivers/net/qlcnic
parent02f6e46f352d52bd88ab3f63e9546ecc6a16e385 (diff)
qlcnic: fix rx bytes statistics
Added lrobytes to it. Signed-off-by: Sucheta Chakraborty <sucheta.chakraborty@qlogic.com> Signed-off-by: Amit Kumar Salecha <amit.salecha@qlogic.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/qlcnic')
-rw-r--r--drivers/net/qlcnic/qlcnic_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/qlcnic/qlcnic_main.c b/drivers/net/qlcnic/qlcnic_main.c
index db0563557e19..0a52d24cae78 100644
--- a/drivers/net/qlcnic/qlcnic_main.c
+++ b/drivers/net/qlcnic/qlcnic_main.c
@@ -1702,7 +1702,7 @@ static struct net_device_stats *qlcnic_get_stats(struct net_device *netdev)
1702 1702
1703 stats->rx_packets = adapter->stats.rx_pkts + adapter->stats.lro_pkts; 1703 stats->rx_packets = adapter->stats.rx_pkts + adapter->stats.lro_pkts;
1704 stats->tx_packets = adapter->stats.xmitfinished; 1704 stats->tx_packets = adapter->stats.xmitfinished;
1705 stats->rx_bytes = adapter->stats.rxbytes; 1705 stats->rx_bytes = adapter->stats.rxbytes + adapter->stats.lrobytes;
1706 stats->tx_bytes = adapter->stats.txbytes; 1706 stats->tx_bytes = adapter->stats.txbytes;
1707 stats->rx_dropped = adapter->stats.rxdropped; 1707 stats->rx_dropped = adapter->stats.rxdropped;
1708 stats->tx_dropped = adapter->stats.txdropped; 1708 stats->tx_dropped = adapter->stats.txdropped;