diff options
| author | Shay Drory <[email protected]> | 2025-03-10 22:01:41 +0000 |
|---|---|---|
| committer | Paolo Abeni <[email protected]> | 2025-03-13 12:11:14 +0000 |
| commit | 32d2724db5b2361ab293427ccd5c24f4f2bcca14 (patch) | |
| tree | 99313c727387af74e60f89cfc93038048d5274d0 /rust/helpers/bug.c | |
| parent | net/mlx5: HWS, Rightsize bwc matcher priority (diff) | |
| download | kernel-32d2724db5b2361ab293427ccd5c24f4f2bcca14.tar.gz kernel-32d2724db5b2361ab293427ccd5c24f4f2bcca14.zip | |
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 <[email protected]>
Reviewed-by: Maher Sanalla <[email protected]>
Signed-off-by: Tariq Toukan <[email protected]>
Reviewed-by: Michal Swiatkowski <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Paolo Abeni <[email protected]>
Diffstat (limited to 'rust/helpers/bug.c')
0 files changed, 0 insertions, 0 deletions
