projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ecf7130
)
[PATCH] ixgb: correct rx_dropped counting
author
John W. Linville
<linville@tuxdriver.com>
Mon, 12 Sep 2005 14:49:00 +0000
(10:49 -0400)
committer
Jeff Garzik
<jgarzik@pobox.com>
Wed, 14 Sep 2005 12:26:16 +0000
(08:26 -0400)
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>
drivers/net/ixgb/ixgb_main.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/ixgb/ixgb_main.c
b/drivers/net/ixgb/ixgb_main.c
index 5c555373adbe5802054b2ed3558219269d0e9ca5..89d6d69be382a3d625892823d8859cbae8237908 100644
(file)
--- 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;
*/