numam-dpdk/drivers
Xueming Li 686d05b60d net/mlx5: enable DevX Tx queue creation
Verbs API does not support Infiniband device port number larger 255 by
design. To support more representors on a single Infiniband device DevX
API should be engaged.

While creating Send Queue (SQ) object with Verbs API, the PMD assigned
IB device port attribute and kernel created the default miss flows in
FDB domain, to redirect egress traffic from the queue being created to
representor appropriate peer (wire, HPF, VF or SF).

With DevX API there is no IB-device port attribute (it is merely kernel
one, DevX operates in PRM terms) and PMD must create default miss flows
in FDB explicitly. PMD did not provide this and using DevX API for
E-Switch configurations was disabled.

The default miss FDB flow matches E-Switch manager vport (to make sure
the source is some representor) and SQn (Send Queue number - device
internal queue index). The root flow table managed by kernel/firmware
and it does not support vport redirect action, we have to split the
default miss flow into two ones:

- flow with lowest priority in the root table that matches E-Switch
manager vport ID and jump to group 1.
- flow in group 1 that matches E-Switch manager vport ID and SQn and
forwards packet to peer vport

Signed-off-by: Xueming Li <xuemingl@nvidia.com>
Acked-by: Viacheslav Ovsiienko <viacheslavo@nvidia.com>
2021-10-21 09:31:13 +02:00
..
baseband baseband/la12xx: support enqueue and dequeue 2021-10-18 20:12:08 +02:00
bus devargs: make bus optional 2021-10-21 11:32:44 +02:00
common common/cnxk: add new PCI IDs to supported devices 2021-10-21 13:43:56 +02:00
compress common/mlx5: share MR mempool registration 2021-10-21 15:58:00 +02:00
crypto common/mlx5: share MR mempool registration 2021-10-21 15:58:00 +02:00
dma dma/idxd: fix build on Windows 2021-10-23 08:52:25 +02:00
event common/cnxk: add new PCI IDs to supported devices 2021-10-21 13:43:56 +02:00
mempool common/cnxk: add new PCI IDs to supported devices 2021-10-21 13:43:56 +02:00
net net/mlx5: enable DevX Tx queue creation 2021-10-21 09:31:13 +02:00
raw dma/idxd: move config script from raw driver 2021-10-22 22:40:59 +02:00
regex common/mlx5: share MR mempool registration 2021-10-21 15:58:00 +02:00
vdpa common/mlx5: share HCA capabilities handle 2021-10-21 15:53:46 +02:00
meson.build raw/ioat: build only if dmadev not present 2021-10-22 22:40:58 +02:00