ixgbevf: Additional adapter removal checks
authorMark Rustad <mark.d.rustad@intel.com>
Tue, 4 Mar 2014 03:02:45 +0000 (03:02 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Fri, 21 Mar 2014 09:38:35 +0000 (02:38 -0700)
commit26597802b47c5b92e3a1e6d5bd7cceef9e611431
treee6f4be3a33cb317a87a817df0626a364621c6b92
parent984b0ee3e3bd1c2d6c955f9121d60bbfd96c399d
ixgbevf: Additional adapter removal checks

Additional checks are needed for a detected removal not to cause
problems. Some involve simply avoiding a lot of stuff that can't
do anything good, and also cases where the phony return value can
cause problems. In addition, down the adapter when the removal is
sensed.

Signed-off-by: Mark Rustad <mark.d.rustad@intel.com>
Tested-by: Phil Schmitt <phillip.j.schmitt@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ixgbevf/ethtool.c
drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c