net/mlx5: fix representor interrupt handler
authorGregory Etelson <getelson@nvidia.com>
Tue, 20 Jul 2021 15:38:19 +0000 (18:38 +0300)
committerRaslan Darawsheh <rasland@nvidia.com>
Thu, 29 Jul 2021 16:01:15 +0000 (18:01 +0200)
commit494d6863c2464838e8ee65b9a7d3d108145ae08d
tree0b8751ccd867e1688a0025ce7621d78bfe814339
parent149211698ccf732f14024047b086ee8fbbb1b02e
net/mlx5: fix representor interrupt handler

In mlx5 PMD the PCI device interrupt vector was used by Uplink
representor exclusively and other VF representors did not support
interrupt mode.
All the VFs and Uplink representors are separate ethernet devices
and must have dedicated interrupt vectors.
The fix provides each representor with a dedicated interrupt
vector.

Fixes: 5882bde88da2 ("net/mlx5: fix representor interrupts handler")
Cc: stable@dpdk.org
Signed-off-by: Gregory Etelson <getelson@nvidia.com>
Acked-by: Viacheslav Ovsiienko <viacheslavo@nvidia.com>
drivers/net/mlx5/linux/mlx5_os.c
drivers/net/mlx5/mlx5.c
drivers/net/mlx5/mlx5_rxq.c