sfc: Use MCDI RX_BAD_FCS_PKTS count as MAC rx_bad count
authorBen Hutchings <bhutchings@solarflare.com>
Fri, 10 Sep 2010 06:41:00 +0000 (06:41 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 10 Sep 2010 19:27:29 +0000 (12:27 -0700)
Calculating rx_bad as rx_packets - rx_good is unnecessary and
incorrect, since rx_good does not include control frames (e.g.
pause frames) and rx_packets does.

Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found