diff options
author | Jedrzej Jagielski <jedrzej.jagielski@intel.com> | 2022-01-14 16:19:28 +0300 |
---|---|---|
committer | Tony Nguyen <anthony.l.nguyen@intel.com> | 2022-02-04 00:13:50 +0300 |
commit | 59b3d7350ff35c939b8e173eb2eecac80a5ee046 (patch) | |
tree | f52d197ca980dc9e43442bbdeabc445db1c8393c /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 00edb2bac29f2e9c1674e85479fa5e3aa8cc648f (diff) | |
download | linux-59b3d7350ff35c939b8e173eb2eecac80a5ee046.tar.xz |
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 <witoldx.fijalkowski@intel.com>
Signed-off-by: Jedrzej Jagielski <jedrzej.jagielski@intel.com>
Tested-by: Gurucharan G <gurucharanx.g@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions