numam-dpdk/drivers/net
Bing Zhao 23233fd63a net/mlx5: fix loopback for Direct Verbs queue
In the past, all the queues and other hardware objects were created
through Verbs interface. Currently, most of the objects creation are
migrated to Devx interface by default, including queues. Only when
the DV is disabled by device arg or eswitch is enabled, all or some
of the objects are created through Verbs interface.

When using Devx interface to create queues, the kernel driver
behavior is different from the case using Verbs. The Tx loopback
cannot work properly even if the Tx and Rx queues are configured
with loopback attribute. To fix the support self loopback for Tx, a
Verbs dummy queue pair needs to be created to trigger the kernel to
enable the global loopback capability.

This is only required when TIR is created for Rx and loopback is
needed. Only CQ and QP are needed for this case, no WQ(RQ) needs to
be created.

Bugzilla ID: 645
Fixes: 6deb19e1b2 ("net/mlx5: separate Rx queue object creations")
Cc: stable@dpdk.org

Signed-off-by: Bing Zhao <bingz@nvidia.com>
Acked-by: Viacheslav Ovsiienko <viacheslavo@nvidia.com>
2021-05-18 10:30:45 +02:00
..
af_packet log: register with standardized names 2021-05-11 15:17:55 +02:00
af_xdp net/af_xdp: fix build with Linux < 5.4 2021-05-11 16:11:26 +02:00
ark net/ark: fix control thread argument 2021-05-12 00:44:06 +02:00
atlantic log: register with standardized names 2021-05-11 15:17:55 +02:00
avp log: register with standardized names 2021-05-11 15:17:55 +02:00
axgbe log: register with standardized names 2021-05-11 15:17:55 +02:00
bnx2x net/bnx2x: fix build with GCC 11 2021-05-12 14:54:16 +02:00
bnxt log: register with standardized names 2021-05-11 15:17:55 +02:00
bonding log: register with standardized names 2021-05-11 15:17:55 +02:00
cxgbe log: register with standardized names 2021-05-11 15:17:55 +02:00
dpaa log: register with standardized names 2021-05-11 15:17:55 +02:00
dpaa2 log: register with standardized names 2021-05-11 15:17:55 +02:00
e1000 log: register with standardized names 2021-05-11 15:17:55 +02:00
ena net/ena: disable ops not supported by secondary process 2021-05-12 14:19:03 +02:00
enetc log: register with standardized names 2021-05-11 15:17:55 +02:00
enic net/enic: enable GENEVE offload via VNIC configuration 2021-05-11 23:52:26 +02:00
failsafe log: register with standardized names 2021-05-11 15:17:55 +02:00
fm10k log: register with standardized names 2021-05-11 15:17:55 +02:00
hinic log: register with standardized names 2021-05-11 15:17:55 +02:00
hns3 net/hns3: fix link speed when VF device is down 2021-05-18 12:30:14 +02:00
i40e net/i40e: fix VF RSS configuration 2021-05-12 14:21:27 +02:00
iavf net/iavf: fix Tx context descriptor 2021-05-12 10:52:54 +02:00
ice net/ice/base: fix build with GCC 11 2021-05-12 14:54:16 +02:00
igc net/igc: fix speed configuration 2021-05-12 14:21:27 +02:00
ionic log: register with standardized names 2021-05-11 15:17:55 +02:00
ipn3ke log: register with standardized names 2021-05-11 15:17:55 +02:00
ixgbe log: register with standardized names 2021-05-11 15:17:55 +02:00
kni log: register with standardized names 2021-05-11 15:17:55 +02:00
liquidio log: register with standardized names 2021-05-11 15:17:55 +02:00
memif log: register with standardized names 2021-05-11 15:17:55 +02:00
mlx4 net/mlx4: fix leak when configured repeatedly 2021-05-16 14:58:23 +02:00
mlx5 net/mlx5: fix loopback for Direct Verbs queue 2021-05-18 10:30:45 +02:00
mvneta log: register with standardized names 2021-05-11 15:17:55 +02:00
mvpp2 log: register with standardized names 2021-05-11 15:17:55 +02:00
netvsc log: register with standardized names 2021-05-11 15:17:55 +02:00
nfb drivers: change indentation in build files 2021-04-21 14:04:09 +02:00
nfp net/nfp: fix internal port addressing 2021-05-14 13:52:32 +02:00
null log: register with standardized names 2021-05-11 15:17:55 +02:00
octeontx log: register with standardized names 2021-05-11 15:17:55 +02:00
octeontx2 drivers/net: fix FW version query 2021-04-26 13:50:42 +02:00
octeontx_ep log: register with standardized names 2021-05-11 15:17:55 +02:00
pcap log: register with standardized names 2021-05-11 15:17:55 +02:00
pfe log: register with standardized names 2021-05-11 15:17:55 +02:00
qede log: register with standardized names 2021-05-11 15:17:55 +02:00
ring log: register with standardized names 2021-05-11 15:17:55 +02:00
sfc net/sfc: fix mark support in EF100 native Rx datapath 2021-04-30 18:06:22 +02:00
softnic log: register with standardized names 2021-05-11 15:17:55 +02:00
szedata2 log: register with standardized names 2021-05-11 15:17:55 +02:00
tap net/tap: fix build with GCC 11 2021-05-12 14:54:16 +02:00
thunderx log: register with standardized names 2021-05-11 15:17:55 +02:00
txgbe net/txgbe: fix QinQ strip 2021-05-11 18:51:21 +02:00
vdev_netvsc log: register with standardized names 2021-05-11 15:17:55 +02:00
vhost net/vhost: restore pseudo TSO support 2021-05-18 09:59:14 +02:00
virtio log: register with standardized names 2021-05-11 15:17:55 +02:00
vmxnet3 log: register with standardized names 2021-05-11 15:17:55 +02:00
meson.build drivers: clean up build lists 2021-04-21 12:37:55 +02:00