]> git.baikalelectronics.ru Git - kernel.git/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)
commit5112175422987117ec4b333026eaabbde222c427
treec9544eba0041e94f551f834dea4cad9a2edf44d0
parent0acc69f842d6ada25260afc386f89ca9a82aa384
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