]> git.baikalelectronics.ru Git - kernel.git/commit
i40e: remove WQ_UNBOUND and the task limit of our workqueue
authorJacob Keller <jacob.e.keller@intel.com>
Tue, 20 Jun 2017 22:16:54 +0000 (15:16 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Wed, 26 Jul 2017 10:25:19 +0000 (03:25 -0700)
commitc5c0b5695e5b0adbb1bb350f0510497d92c2dca8
tree57d41769301d73776daeba6308c07eb06e319980
parent81398437421231c8f387b876f26ae4fa243df226
i40e: remove WQ_UNBOUND and the task limit of our workqueue

During certain events such as a CORER, multiple devices will run a work
task to handle some cleanup. This can cause issues due to
a single-threaded workqueue which can mean that a device doesn't cleanup
in time. Prevent this by removing the single-threaded restriction on the
module workqueue. This avoids the need to add more complex yielding
logic in our service task routine. This is also similar to what other
drivers such as fm10k do.

Signed-off-by: Jacob Keller <jacob.e.keller@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40e/i40e_main.c