diff options
author | Ben Hutchings <bhutchings@solarflare.com> | 2011-05-16 21:51:24 +0400 |
---|---|---|
committer | Ben Hutchings <bhutchings@solarflare.com> | 2011-05-17 02:34:28 +0400 |
commit | e4abce8538496ba90cb89909894ea42e00f96a7d (patch) | |
tree | 738f4849e775c789efb3a6cb74d24125b752ee9d /CREDITS | |
parent | 602a5322a7a1b6b005cb50d423939bb7a8782838 (diff) | |
download | linux-e4abce8538496ba90cb89909894ea42e00f96a7d.tar.xz |
sfc: Use netif_device_{detach,attach}() around reset and self-test
We need to keep the TX queues stopped throughout a reset, without
triggering the TX watchdog and regardless of the link state. The
proper way to do this is to use netif_device_{detach,attach}() just as
we do around suspend/resume, rather than the current bodge of faking
link-down.
Since we also need to do this during an offline self-test and we
perform a reset during that, add these function calls outside of
efx_reset_down() and efx_reset_up().
Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Diffstat (limited to 'CREDITS')
0 files changed, 0 insertions, 0 deletions