]> 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)
commitcd3adaf2dfa83cad097697fdaa611ee659c8d1df
treebde0cae191d3c6c7d5935236da8a15db7aeee82c
parent87df09574faec95b55a2216f095bc197c4f936bd
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