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)
commitf891b7cdbdcda116fd26bbd706f91bd58567aa17
treea9a07e2198db76ef54382ae02c6f828906018b67
parent3663ad34bc707fc85492f4d83a313f5df84718d4
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