]> git.itanic.dy.fi Git - linux-stable/commit
net/mlx5: Move affinity assignment into irq_request
authorShay Drory <shayd@nvidia.com>
Tue, 23 Nov 2021 07:14:58 +0000 (09:14 +0200)
committerSaeed Mahameed <saeedm@nvidia.com>
Fri, 7 Jan 2022 00:22:51 +0000 (16:22 -0800)
commit30c6afa735db60b4fb6ca81da568d11d19aa2c15
treec9544eba0041e94f551f834dea4cad9a2edf44d0
parent5256a46bf53872d9888c0d9c34382262b3006599
net/mlx5: Move affinity assignment into irq_request

Move affinity binding of the IRQ to irq_request function in order to
bind the IRQ before inserting it to the xarray.

After this change, the IRQ is ready for use when inserted to the xarray.

Signed-off-by: Shay Drory <shayd@nvidia.com>
Reviewed-by: Moshe Shemesh <moshe@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
drivers/net/ethernet/mellanox/mlx5/core/pci_irq.c