Skip to content

Commit

Permalink
[PATCH] ixgb: correct rx_dropped counting
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
John W. Linville authored and Jeff Garzik committed Sep 14, 2005
1 parent ecf7130 commit c535a9d
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions drivers/net/ixgb/ixgb_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
*/
Expand Down

0 comments on commit c535a9d

Please sign in to comment.