aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ixgb
diff options
context:
space:
mode:
authorJohn W. Linville <linville@tuxdriver.com>2005-09-12 10:49:00 -0400
committerJeff Garzik <jgarzik@pobox.com>2005-09-14 08:26:16 -0400
commitc535a9dd26d1a4c6dcbd486cbe181a9e71237af1 (patch)
treef95636fa1f632eabbb8dc10d7e64aff06a3b2326 /drivers/net/ixgb
parentecf7130b087a9bd1b9d03dbf452630243210d22e (diff)
downloadkernel_samsung_smdk4412-c535a9dd26d1a4c6dcbd486cbe181a9e71237af1.zip
kernel_samsung_smdk4412-c535a9dd26d1a4c6dcbd486cbe181a9e71237af1.tar.gz
kernel_samsung_smdk4412-c535a9dd26d1a4c6dcbd486cbe181a9e71237af1.tar.bz2
[PATCH] ixgb: 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>
Diffstat (limited to 'drivers/net/ixgb')
-rw-r--r--drivers/net/ixgb/ixgb_main.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/ixgb/ixgb_main.c b/drivers/net/ixgb/ixgb_main.c
index 5c55537..89d6d69 100644
--- a/drivers/net/ixgb/ixgb_main.c
+++ b/drivers/net/ixgb/ixgb_main.c
@@ -1616,8 +1616,6 @@ ixgb_update_stats(struct ixgb_adapter *adapter)
adapter->stats.icbc +
adapter->stats.ecbc + adapter->stats.mpc;
- adapter->net_stats.rx_dropped = adapter->stats.mpc;
-
/* see above
* adapter->net_stats.rx_length_errors = adapter->stats.rlec;
*/