]> git.baikalelectronics.ru Git - kernel.git/commit
ixgbe: Add bit to mark service task initialization
authorMark Rustad <mark.d.rustad@intel.com>
Wed, 12 Mar 2014 00:38:40 +0000 (00:38 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Fri, 11 Apr 2014 12:58:05 +0000 (05:58 -0700)
commita54a67e3bab5362a919020f8658f40f68d87e1e3
treea4a55234717f6135c645647f94afe01ca56c482d
parent29c6bff48f89e40a814e169a6b967fdb0bed6a92
ixgbe: Add bit to mark service task initialization

There needs to be an indication when the service task has been
initialized. This is because register access prior to that time
can detect a removal and attempt to schedule the service task.
Adding the __IXGBE_SERVICE_INITED bit allows this to be checked
and if not set prevent the service task scheduling. By checking
for a removal right after initialization, the probe can be failed
at that point without getting the service task involved.

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