diff options
author | Jedrzej Jagielski <[email protected]> | 2022-01-14 13:19:28 +0000 |
---|---|---|
committer | Tony Nguyen <[email protected]> | 2022-02-03 13:13:50 -0800 |
commit | 59b3d7350ff35c939b8e173eb2eecac80a5ee046 (patch) | |
tree | f52d197ca980dc9e43442bbdeabc445db1c8393c /lib/mpi/mpi-sub-ui.c | |
parent | 00edb2bac29f2e9c1674e85479fa5e3aa8cc648f (diff) |
i40e: Add sending commands in atomic context
Change functions:
- i40e_aq_add_macvlan
- i40e_aq_remove_macvlan
- i40e_aq_delete_element
- i40e_aq_add_vsi
- i40e_aq_update_vsi_params
to explicitly use i40e_asq_send_command_atomic(..., true)
instead of i40e_asq_send_command, as they use mutexes and do some
work in an atomic context.
Without this change setting vlan via netdev will fail with
call trace cased by bug "BUG: scheduling while atomic".
Signed-off-by: Witold Fijalkowski <[email protected]>
Signed-off-by: Jedrzej Jagielski <[email protected]>
Tested-by: Gurucharan G <[email protected]>
Signed-off-by: Tony Nguyen <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions