diff options
author | John W. Linville <linville@tuxdriver.com> | 2005-09-12 10:48:59 -0400 |
---|---|---|
committer | Jeff Garzik <jgarzik@pobox.com> | 2005-09-14 08:26:16 -0400 |
commit | bd061bf1ff37e186012c6e2522328b58e5d35ed8 (patch) | |
tree | 783c094c861e8f1a941480c471388cdcc84cef56 | |
parent | 1141455d5e29e47004ad61e0fc385cb612d4e51c (diff) |
[PATCH] e1000: correct rx_dropped counting
Do not count frames dropped by the hardware as part of rx_dropped.
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
-rw-r--r-- | drivers/net/e1000/e1000_main.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/e1000/e1000_main.c b/drivers/net/e1000/e1000_main.c index 7c8a0a22dcd5..ee687c902a20 100644 --- a/drivers/net/e1000/e1000_main.c +++ b/drivers/net/e1000/e1000_main.c | |||
@@ -2544,7 +2544,6 @@ e1000_update_stats(struct e1000_adapter *adapter) | |||
2544 | adapter->stats.crcerrs + adapter->stats.algnerrc + | 2544 | adapter->stats.crcerrs + adapter->stats.algnerrc + |
2545 | adapter->stats.rlec + adapter->stats.mpc + | 2545 | adapter->stats.rlec + adapter->stats.mpc + |
2546 | adapter->stats.cexterr; | 2546 | adapter->stats.cexterr; |
2547 | adapter->net_stats.rx_dropped = adapter->stats.mpc; | ||
2548 | adapter->net_stats.rx_length_errors = adapter->stats.rlec; | 2547 | adapter->net_stats.rx_length_errors = adapter->stats.rlec; |
2549 | adapter->net_stats.rx_crc_errors = adapter->stats.crcerrs; | 2548 | adapter->net_stats.rx_crc_errors = adapter->stats.crcerrs; |
2550 | adapter->net_stats.rx_frame_errors = adapter->stats.algnerrc; | 2549 | adapter->net_stats.rx_frame_errors = adapter->stats.algnerrc; |