Skip to content
Commit cbe5852d authored by Michael Liang's avatar Michael Liang Committed by Greg Kroah-Hartman
Browse files

net/mlx5: offset comp irq index in name by one

[ Upstream commit 9f7e8fbb ]

The mlx5 comp irq name scheme is changed a little bit between
commit 3663ad34 ("net/mlx5: Shift control IRQ to the last index")
and commit 3354822c ("net/mlx5: Use dynamic msix vectors allocation").
The index in the comp irq name used to start from 0 but now it starts
from 1. There is nothing critical here, but it's harmless to change
back to the old behavior, a.k.a starting from 0.

Fixes: 3354822c

 ("net/mlx5: Use dynamic msix vectors allocation")
Reviewed-by: default avatarMohamed Khalfella <mkhalfella@purestorage.com>
Reviewed-by: default avatarYuanyuan Zhong <yzhong@purestorage.com>
Signed-off-by: default avatarMichael Liang <mliang@purestorage.com>
Reviewed-by: default avatarShay Drory <shayd@nvidia.com>
Signed-off-by: default avatarSaeed Mahameed <saeedm@nvidia.com>
Signed-off-by: default avatarTariq Toukan <tariqt@nvidia.com>
Link: https://lore.kernel.org/r/20240409190820.227554-4-tariqt@nvidia.com


Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 8c91c608
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment