]> www.infradead.org Git - users/willy/xarray.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)
commitc38421abcf21d477691277218106780233abc2d8
tree46d75e435df209faab00a56fa4d95081d524f75a
parent8a66e45859797e5dd77ff17dd37781f99d5f5b9b
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