]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5: Refcount mlx5_irq with integer
authorShay Drory <shayd@nvidia.com>
Tue, 22 Jun 2021 11:20:16 +0000 (14:20 +0300)
committerSaeed Mahameed <saeedm@nvidia.com>
Wed, 11 Aug 2021 18:14:31 +0000 (11:14 -0700)
commitc3c7ace78708ee53e0cd32cfb28eef99f50bba10
treec669a1d138ca0e74cd4adfc4eb5dd2868469705a
parent538ec782343d219cd5b8a309f061d6417c08c632
net/mlx5: Refcount mlx5_irq with integer

Currently, all access to mlx5 IRQs are done undere a lock. Hance, there
isn't a reason to have kref in struct mlx5_irq.
Switch it to integer.

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