Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[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>

authored by

John W. Linville and committed by
Jeff Garzik
c535a9dd ecf7130b

-2
-2
drivers/net/ixgb/ixgb_main.c
··· 1616 1616 adapter->stats.icbc + 1617 1617 adapter->stats.ecbc + adapter->stats.mpc; 1618 1618 1619 - adapter->net_stats.rx_dropped = adapter->stats.mpc; 1620 - 1621 1619 /* see above 1622 1620 * adapter->net_stats.rx_length_errors = adapter->stats.rlec; 1623 1621 */