]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit499759ad304039b0b5403cd38d878cc2c8ee996a
treee6f4be3a33cb317a87a817df0626a364621c6b92
parent551550543dce971980c18a6d37a52d44132e9809
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