Hi,
I would like to use hairpin feature with my ConnectX-4 Lx card with DPDK testpmd application however I’m facing below error message in mlx5 drivers. Any suggestions on solution?
./dpdk-testpmd -l 14,15 -a 0000:65:00.0 -a 0000:65:00.1 – -i --total-num-mbufs=5000 --rxq=2 --rxd=512 --txq=2 --txd=512 --hairpinq=1 --hairpin-mode=0x12
Configuring Port 0 (socket 0)
common_mlx5: Failed to create SQ using DevX
mlx5_pci: Port 0 tx hairpin queue 2 can’t create SQ object.
mlx5_pci: port 0 Tx queue allocation failed: Invalid argument
Fail to start port 0
Configuring Port 1 (socket 0)
common_mlx5: Failed to create SQ using DevX
mlx5_pci: Port 1 tx hairpin queue 2 can’t create SQ object.
mlx5_pci: port 1 Tx queue allocation failed: Invalid argument
Fail to start port 1
Error is caused by this function: mlx5dv_devx_obj_create, it returns as NULL by not creating requested object.
OFED version: 5.4-3.4.0.0
DPDK version: 20.11.5