]> git.proxmox.com Git - mirror_ubuntu-eoan-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)
commit58cf663f0e962a51f051a84e38be281335bdf1fd
treea4a55234717f6135c645647f94afe01ca56c482d
parent6d39d589bb76ee8a1c6cde6822006ae0053decff
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