Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

[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
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -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;
	 */