igb: count Rx FIFO errors correctly
authorMitch Williams <mitch.a.williams@intel.com>
Tue, 23 Mar 2010 18:34:38 +0000 (18:34 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 24 Mar 2010 06:19:56 +0000 (23:19 -0700)
commitfa3d9a6d55014b5bce5575aeab1cf711cff748ab
tree3d2f23ce2e699dbf5093d047f70129c51eac011c
parent1bf1e347ef254ed8a13e7971a30e1bf3983da3d1
igb: count Rx FIFO errors correctly

Don't aggregate rx_no_buffer_count into rx_fifo_errors. RNBC counts
packets that get queued temporarily in the adapter's FIFO. These
packets are not dropped and are not errors. The correct counter
is rx_missed_errors (MPC).

Signed-off-by: Mitch Williams <mitch.a.williams@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/igb/igb_main.c