]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5: Change IRQ storage logic from static to dynamic
authorShay Drory <shayd@nvidia.com>
Tue, 23 Feb 2021 09:38:52 +0000 (11:38 +0200)
committerSaeed Mahameed <saeedm@nvidia.com>
Tue, 15 Jun 2021 03:57:59 +0000 (20:57 -0700)
commit1752c99e8586ade0547d418fcd3753c109da79f9
treed460bc05a3a05ceb07e397ea2213d094a7e4386f
parent2190cbaa3fdacad45eee31e6df55e3ad861517ce
net/mlx5: Change IRQ storage logic from static to dynamic

Store newly created IRQs in the xarray DB instead of a static array,
so we will be able to store only IRQs which are being used.

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/eq.c
drivers/net/ethernet/mellanox/mlx5/core/mlx5_irq.h
drivers/net/ethernet/mellanox/mlx5/core/pci_irq.c