]> git.baikalelectronics.ru Git - kernel.git/commit
ixgbevf: Indicate removal state explicitly
authorMark Rustad <mark.d.rustad@intel.com>
Tue, 4 Mar 2014 03:02:13 +0000 (03:02 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Thu, 20 Mar 2014 00:17:24 +0000 (17:17 -0700)
commit383e4fd61c977a76da482f54bd92d6da886cadb5
treef3bbc071b98324b0f88599bf22c8b4149a19f2a0
parent221fe771b3dfaf27db468f0e7c1e87c03a35ea18
ixgbevf: Indicate removal state explicitly

Add a bit, __IXGBEVF_REMOVING, to indicate that the module is being
removed. The __IXGBEVF_DOWN bit had been overloaded for this purpose,
but that leads to trouble. A few places now check both __IXGBEVF_DOWN
and __IXGBEVF_REMOVING.

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/ixgbevf.h
drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c