Commit c535a9dd authored by John W. Linville's avatar John W. Linville Committed by Jeff Garzik

[PATCH] ixgb: correct rx_dropped counting

Do not count frames dropped by the hardware as part of rx_dropped.
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
Signed-off-by: default avatarJeff Garzik <jgarzik@pobox.com>
parent ecf7130b
...@@ -1616,8 +1616,6 @@ ixgb_update_stats(struct ixgb_adapter *adapter) ...@@ -1616,8 +1616,6 @@ ixgb_update_stats(struct ixgb_adapter *adapter)
adapter->stats.icbc + adapter->stats.icbc +
adapter->stats.ecbc + adapter->stats.mpc; adapter->stats.ecbc + adapter->stats.mpc;
adapter->net_stats.rx_dropped = adapter->stats.mpc;
/* see above /* see above
* adapter->net_stats.rx_length_errors = adapter->stats.rlec; * adapter->net_stats.rx_length_errors = adapter->stats.rlec;
*/ */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment