summaryrefslogtreecommitdiffstats
path: root/drivers/net/sfc/efx.h
diff options
context:
space:
mode:
authorBen Hutchings <bhutchings@solarflare.com>2010-09-10 06:41:00 +0000
committerDavid S. Miller <davem@davemloft.net>2010-09-10 12:27:29 -0700
commit1cdc2cfc8af6d1045c844b9e24a7910b57232065 (patch)
tree1e285f5ab1089fc936839693de40af5da1b180ff /drivers/net/sfc/efx.h
parente548833df83c3554229eff0672900bfe958b45fd (diff)
downloadop-kernel-dev-1cdc2cfc8af6d1045c844b9e24a7910b57232065.zip
op-kernel-dev-1cdc2cfc8af6d1045c844b9e24a7910b57232065.tar.gz
sfc: Use MCDI RX_BAD_FCS_PKTS count as MAC rx_bad count
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>
Diffstat (limited to 'drivers/net/sfc/efx.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud