net/mlx5: fix representor interrupts handler
authorGregory Etelson <getelson@nvidia.com>
Tue, 17 Nov 2020 18:49:40 +0000 (20:49 +0200)
committerThomas Monjalon <thomas@monjalon.net>
Sun, 22 Nov 2020 17:27:08 +0000 (18:27 +0100)
commit5882bde88da28b82f138676544ca9e807a9124f5
tree07d593bd2c856bbc71c79075091f4c11156bf33a
parent6184a02223722b929ae99dff2ba967626448dd63
net/mlx5: fix representor interrupts handler

Representor is a port in DPDK that is connected to a VF in such a way
that assuming there are no offload flows, each packet that is sent
from the VF will be received by the corresponding representor. While
each packet that is sent to a representor will be received by the VF.
This is very useful in case of SRIOV mode, where the first packet that
is sent by the VF will be received by the DPDK application which will
decide if this flow should be offloaded to the E-Switch.

Representor shares interrupts handler with host PF over the PCI
address. Therefore, after PF completes its interrupts handler
initialization, no additional actions required for representor.

Fixes: 26c08b979d26 ("net/mlx5: add port representor awareness")
Cc: stable@dpdk.org
Signed-off-by: Gregory Etelson <getelson@nvidia.com>
Acked-by: Viacheslav Ovsiienko <viacheslavo@nvidia.com>
drivers/net/mlx5/mlx5_rxq.c