]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5: Removing rmap per IRQ
authorShay Drory <shayd@nvidia.com>
Tue, 23 Feb 2021 09:08:26 +0000 (11:08 +0200)
committerSaeed Mahameed <saeedm@nvidia.com>
Tue, 15 Jun 2021 03:57:58 +0000 (20:57 -0700)
commitec9e9f096276f48e1821560893b8966aaf7ac636
treebde0cae191d3c6c7d5935236da8a15db7aeee82c
parent0e825fddd216710be6f5dc067122ae38cf9b8f51
net/mlx5: Removing rmap per IRQ

In next patches, IRQs will be requested according to demand, instead of
statically on driver boot.
Also, currently, rmap is managed by the IRQ layer. rmap management will
move out from the IRQ layer in future patches.

Therefore, we want to remove the IRQ from the rmap, when IRQ is destroyed,
instead of removing all the IRQs from the rmap when irq_table is destroyed.

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