aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/intel/fm10k/fm10k_mbx.h
diff options
context:
space:
mode:
authorJacob Keller <jacob.e.keller@intel.com>2016-06-23 13:54:01 -0700
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2016-08-29 01:31:03 -0700
commit5f45c83024c49f71e50cf8156b165f11d2ab35a9 (patch)
tree0a1479457310669dc920f2b1200ade41d8250e11 /drivers/net/ethernet/intel/fm10k/fm10k_mbx.h
parentfm10k: don't continue probe if PCI device not in normal IO state (diff)
downloadlinux-dev-5f45c83024c49f71e50cf8156b165f11d2ab35a9.tar.xz
linux-dev-5f45c83024c49f71e50cf8156b165f11d2ab35a9.zip
fm10k: don't try to stop queues if we've lost hw_addr
In the event of a surprise remove, we expect the driver to go down, which includes calling .stop_hw(). However, this function will return an error because the queues won't appear to cleanly disable. Prevent this and avoid the unnecessary checks by just returning when FM10K_REMOVED(hw->hw_addr) is true. Signed-off-by: Jacob Keller <jacob.e.keller@intel.com> Tested-by: Krishneil Singh <Krishneil.k.singh@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'drivers/net/ethernet/intel/fm10k/fm10k_mbx.h')
0 files changed, 0 insertions, 0 deletions