diff options
author | Ben Hutchings <bhutchings@solarflare.com> | 2012-10-01 23:58:35 +0400 |
---|---|---|
committer | Ben Hutchings <bhutchings@solarflare.com> | 2012-12-01 06:00:10 +0400 |
commit | 876be083b669c43203c0ee8709d749896e1d8d60 (patch) | |
tree | f88727f3f84df9fd33caa69fb36c2ec6ca039f4f /drivers/net/ethernet/sfc/net_driver.h | |
parent | c3771a35bebeea16c4fd94d1116010cc02b1f75e (diff) | |
download | linux-876be083b669c43203c0ee8709d749896e1d8d60.tar.xz |
sfc: Reset driver's MAC stats after MC reboot seen
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.
(Ideally we would maintain stats across the reboot, but as this should
only happen immediately after a firmware upgrade it's not really worth
the trouble.)
Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Diffstat (limited to 'drivers/net/ethernet/sfc/net_driver.h')
0 files changed, 0 insertions, 0 deletions