]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
i40e: disable NAPI right after disabling irqs when handling xsk_pool
authorMaciej Fijalkowski <maciej.fijalkowski@intel.com>
Tue, 20 Feb 2024 21:45:52 +0000 (22:45 +0100)
committerTony Nguyen <anthony.l.nguyen@intel.com>
Fri, 1 Mar 2024 17:38:04 +0000 (09:38 -0800)
commitd562b11c1eac7d73f4c778b4cbe5468f86b1f20d
treeeae97ce86422c8c0a7ce81a7d926af0e3db18c34
parentcbf996f52c4e658b3fb4349a869a62fd2d4c3c1c
i40e: disable NAPI right after disabling irqs when handling xsk_pool

Disable NAPI before shutting down queues that this particular NAPI
contains so that the order of actions in i40e_queue_pair_disable()
mirrors what we do in i40e_queue_pair_enable().

Fixes: 123cecd427b6 ("i40e: added queue pair disable/enable functions")
Signed-off-by: Maciej Fijalkowski <maciej.fijalkowski@intel.com>
Tested-by: Chandan Kumar Rout <chandanx.rout@intel.com> (A Contingent Worker at Intel)
Acked-by: Magnus Karlsson <magnus.karlsson@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
drivers/net/ethernet/intel/i40e/i40e_main.c