]> 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)
commitfe350e6b195fd6085a2ba2cb8a25aeb539990bdd
treed460bc05a3a05ceb07e397ea2213d094a7e4386f
parent9331fafa978367606db4ad95f4ea0e5d2093c17a
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