sfc: Reset derived rx_bad_bytes statistic when EF10 MC is rebooted
authorBen Hutchings <bhutchings@solarflare.com>
Thu, 5 Sep 2013 21:46:10 +0000 (22:46 +0100)
committerBen Hutchings <bhutchings@solarflare.com>
Wed, 11 Sep 2013 14:29:51 +0000 (15:29 +0100)
commit869070c5300d1b6f0f72f5444e69fe65e34c6bde
tree28ad327f129165655721f698351bb138097aef59
parent8b59f017e4c3f6d30427440014aba8ac25ccb867
sfc: Reset derived rx_bad_bytes statistic when EF10 MC is rebooted

If the MC reboots then the stats it reports to us will have been
reset.  We need to reset ours to get efx_update_diff_stat() working
properly.

(This is a re-run of commit 876be083b669 'sfc: Reset driver's
MAC stats after MC reboot seen'.)

Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
drivers/net/ethernet/sfc/ef10.c