]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5: Delay IRQ destruction till all users are gone
authorLeon Romanovsky <leonro@nvidia.com>
Tue, 23 Feb 2021 07:32:21 +0000 (09:32 +0200)
committerSaeed Mahameed <saeedm@nvidia.com>
Tue, 15 Jun 2021 03:57:57 +0000 (20:57 -0700)
commit9d240a1fcf5a9d74ff65f198678bde4fc6aa884f
tree46d75e435df209faab00a56fa4d95081d524f75a
parentfeb449bcccb037df2795b7807aa29d2a6fbe3a2b
net/mlx5: Delay IRQ destruction till all users are gone

Shared IRQ are consumed by multiple EQ users and in order to properly
initialize and later release such IRQs, we add kref counting of IRQ
structure.

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