]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5: Enable single IRQ for PCI Function
authorShay Drory <shayd@nvidia.com>
Sun, 1 Aug 2021 09:08:49 +0000 (12:08 +0300)
committerSaeed Mahameed <saeedm@nvidia.com>
Tue, 5 Oct 2021 01:10:57 +0000 (18:10 -0700)
commit67b8f99e536b458244375c6ad5e39b3ebbb0ed84
treea9a07e2198db76ef54382ae02c6f828906018b67
parentf3a03b2cbe48595c33aff50c67a5b73b53984ab6
net/mlx5: Enable single IRQ for PCI Function

Prior to this patch the driver requires two IRQs to function properly,
one required IRQ for control and at least one required IRQ for IO.

This requirement can be relaxed to one as the driver now allows
sharing of IRQs, so control and IO EQs can share the same irq.

This is needed for high scale amount of VFs.

Signed-off-by: Shay Drory <shayd@nvidia.com>
Reviewed-by: Moshe Shemesh <moshe@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
drivers/net/ethernet/mellanox/mlx5/core/pci_irq.c
include/linux/mlx5/eq.h