diff options
| author | Maxim Mikityanskiy <[email protected]> | 2021-04-23 19:14:37 +0300 |
|---|---|---|
| committer | Saeed Mahameed <[email protected]> | 2021-07-26 09:50:37 -0700 |
| commit | 69994ef3da660af4ff22c740f85dc291a50a6440 (patch) | |
| tree | 9d394a1c3893d93a2136318a3aae63cbddf546b1 /tools/perf/scripts/python/syscall-counts.py | |
| parent | 26ab7b384525ccfa678c518577f7f0d841209c8b (diff) | |
net/mlx5: Take TIR destruction out of the TIR list lock
res->td.list_lock protects the list of TIRs. There is no point to call
mlx5_core_destroy_tir() and invoke a firmware command under this lock.
This commit moves this call outside of the lock and puts it after
deleting the TIR from the list to ensure that TIRs are always alive
while in the list.
Signed-off-by: Maxim Mikityanskiy <[email protected]>
Reviewed-by: Tariq Toukan <[email protected]>
Signed-off-by: Saeed Mahameed <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions