idpf: change the method for mailbox workqueue allocation
authorMilena Olech <milena.olech@intel.com>
Wed, 16 Apr 2025 12:19:00 +0000 (14:19 +0200)
committerTony Nguyen <anthony.l.nguyen@intel.com>
Fri, 16 May 2025 16:13:02 +0000 (09:13 -0700)
commit9525a12d6b0b17ec255d24856d04342bedf1c050
tree7bb5112339091d4e220593128188d75c14c96287
parent894fbb55e60cab4ea740f6c65a08b5f8155221f4
idpf: change the method for mailbox workqueue allocation

Since workqueues are created per CPU, the works scheduled to this
workqueues are run on the CPU they were assigned. It may result in
overloaded CPU that is not able to handle virtchnl messages in
relatively short time. Allocating workqueue with WQ_UNBOUND and
WQ_HIGHPRI flags allows scheduler to queue virtchl messages on less loaded
CPUs, what eliminates delays.

Reviewed-by: Alexander Lobakin <aleksander.lobakin@intel.com>
Reviewed-by: Jacob Keller <jacob.e.keller@intel.com>
Signed-off-by: Milena Olech <milena.olech@intel.com>
Tested-by: Samuel Salin <Samuel.salin@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
drivers/net/ethernet/intel/idpf/idpf_main.c