diff options
author | Paul Greenwalt <paul.greenwalt@intel.com> | 2018-03-12 09:22:55 -0400 |
---|---|---|
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2018-03-23 14:18:26 -0700 |
commit | 1aa37845f7601ce9159cd08fdf381cfb5f494c12 (patch) | |
tree | 7586c8fe0532e4c395c3da5259c6a6cdfc4546ec /drivers/net/ethernet/intel/ixgbe/ixgbe_x550.c | |
parent | f452518c982e57538e6d49da0a2c80eef22087ab (diff) |
ixgbe: add status reg reads to ixgbe_check_remove
Add status register reads and delay between reads to ixgbe_check_remove.
Registers can read 0xFFFFFFFF during PCI reset, which causes the driver
to remove the adapter. The additional status register reads can reduce the
chance of this race condition.
If the status register is not 0xFFFFFFFF, then ixgbe_check_remove returns
the value of the register being read.
Signed-off-by: Paul Greenwalt <paul.greenwalt@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'drivers/net/ethernet/intel/ixgbe/ixgbe_x550.c')
0 files changed, 0 insertions, 0 deletions