]> err.no Git - linux-2.6/commitdiff
[PATCH] ixgb: correct rx_dropped counting
authorJohn W. Linville <linville@tuxdriver.com>
Mon, 12 Sep 2005 14:49:00 +0000 (10:49 -0400)
committerJeff 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

index 5c555373adbe5802054b2ed3558219269d0e9ca5..89d6d69be382a3d625892823d8859cbae8237908 100644 (file)
@@ -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;
         */