diff options
author | Michal Schmidt <[email protected]> | 2023-10-25 11:32:13 -0700 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2023-10-25 17:48:31 -0700 |
commit | 53798666648af3aa0dd512c2380576627237a800 (patch) | |
tree | c5c59dbfe51bd8e25819718293eb68584e29e902 /arch/x86/kvm/svm/nested.c | |
parent | 5e5d8b94a4fa5fc4a4ea5c97393a29aa5bf3e4bb (diff) |
iavf: in iavf_down, disable queues when removing the driver
In iavf_down, we're skipping the scheduling of certain operations if
the driver is being removed. However, the IAVF_FLAG_AQ_DISABLE_QUEUES
request must not be skipped in this case, because iavf_close waits
for the transition to the __IAVF_DOWN state, which happens in
iavf_virtchnl_completion after the queues are released.
Without this fix, "rmmod iavf" takes half a second per interface that's
up and prints the "Device resources not yet released" warning.
Fixes: c8de44b577eb ("iavf: do not process adminq tasks when __IAVF_IN_REMOVE_TASK is set")
Signed-off-by: Michal Schmidt <[email protected]>
Reviewed-by: Wojciech Drewek <[email protected]>
Tested-by: Rafal Romanowski <[email protected]>
Tested-by: Jacob Keller <[email protected]>
Signed-off-by: Jacob Keller <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'arch/x86/kvm/svm/nested.c')
0 files changed, 0 insertions, 0 deletions