diff options
author | Shay Drory <shayd@nvidia.com> | 2025-03-11 01:01:41 +0300 |
---|---|---|
committer | Paolo Abeni <pabeni@redhat.com> | 2025-03-13 15:11:14 +0300 |
commit | 32d2724db5b2361ab293427ccd5c24f4f2bcca14 (patch) | |
tree | 99313c727387af74e60f89cfc93038048d5274d0 /tools/perf/scripts/python/task-analyzer.py | |
parent | 521992337f67f71ce4436b98bc32563ddb1a5ce3 (diff) | |
download | linux-32d2724db5b2361ab293427ccd5c24f4f2bcca14.tar.xz |
net/mlx5: Fix incorrect IRQ pool usage when releasing IRQs
mlx5_irq_pool_get() is a getter for completion IRQ pool only.
However, after the cited commit, mlx5_irq_pool_get() is called during
ctrl IRQ release flow to retrieve the pool, resulting in the use of an
incorrect IRQ pool.
Hence, use the newly introduced mlx5_irq_get_pool() getter to retrieve
the correct IRQ pool based on the IRQ itself. While at it, rename
mlx5_irq_pool_get() to mlx5_irq_table_get_comp_irq_pool() which
accurately reflects its purpose and improves code readability.
Fixes: 0477d5168bbb ("net/mlx5: Expose SFs IRQs")
Signed-off-by: Shay Drory <shayd@nvidia.com>
Reviewed-by: Maher Sanalla <msanalla@nvidia.com>
Signed-off-by: Tariq Toukan <tariqt@nvidia.com>
Reviewed-by: Michal Swiatkowski <michal.swiatkowski@linux.intel.com>
Link: https://patch.msgid.link/1741644104-97767-4-git-send-email-tariqt@nvidia.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions