]> 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)
commit7245f024e07b17e78f337d2c938e54dd2ea9b0fd
tree57d41769301d73776daeba6308c07eb06e319980
parenta2853e8b75eadc52b5d2763fb5c49867c45ae3c6
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