summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/intel
diff options
context:
space:
mode:
authorFrederic Weisbecker <frederic@kernel.org>2024-10-07 14:44:07 -0700
committerTony Nguyen <anthony.l.nguyen@intel.com>2024-11-13 10:30:21 -0800
commitfcc17a3ba0ceef76cb2197742f9e90fb17e89b2e (patch)
tree94e09c3383b457b824e2359e53f6066c6dc66d55 /drivers/net/ethernet/intel
parenteaa3e9876bbc2f260cf17167a194bd412e80f177 (diff)
downloadlinux-fcc17a3ba0ceef76cb2197742f9e90fb17e89b2e.tar.gz
linux-fcc17a3ba0ceef76cb2197742f9e90fb17e89b2e.tar.bz2
linux-fcc17a3ba0ceef76cb2197742f9e90fb17e89b2e.zip
ice: Unbind the workqueue
The ice workqueue doesn't seem to rely on any CPU locality and should therefore be able to run on any CPU. In practice this is already happening through the unbound ice_service_timer that may fire anywhere and queue the workqueue accordingly to any CPU. Make this official so that the ice workqueue is only ever queued to housekeeping CPUs on nohz_full. Signed-off-by: Frederic Weisbecker <frederic@kernel.org> Tested-by: Pucha Himasekhar Reddy <himasekharx.reddy.pucha@intel.com> (A Contingent worker at Intel) Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Diffstat (limited to 'drivers/net/ethernet/intel')
-rw-r--r--drivers/net/ethernet/intel/ice/ice_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/intel/ice/ice_main.c b/drivers/net/ethernet/intel/ice/ice_main.c
index f9301493e92d..cc8d2d6e2b4d 100644
--- a/drivers/net/ethernet/intel/ice/ice_main.c
+++ b/drivers/net/ethernet/intel/ice/ice_main.c
@@ -5931,7 +5931,7 @@ static int __init ice_module_init(void)
ice_adv_lnk_speed_maps_init();
- ice_wq = alloc_workqueue("%s", 0, 0, KBUILD_MODNAME);
+ ice_wq = alloc_workqueue("%s", WQ_UNBOUND, 0, KBUILD_MODNAME);
if (!ice_wq) {
pr_err("Failed to create workqueue\n");
return status;