[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>
This commit is contained in:
parent
ecf7130b08
commit
c535a9dd26
@ -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;
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user