DOCA GPUnetIO samples: HWS not supported, cannot create mlx5dr_table

Hello everyone,

I’m trying to run the GPUNetIO examples, which come with DOCA such as the “doca_gpunetio_simple_receive” or “doca_gpu_packet_processing”. The hardware i am using is a Connectx-6 VPI card (MCX653105A-ECAT) with FW 20.42.1000 in ethernet mode and a Quadro RTX 4000 GPU.

Whenever I launch of these programs I get the following outputs:

sudo ~/doca_gpunetio_samples/doca_gpunetio_simple_receive -g 01:00.0 -n 03:00.0
[14:43:23:943323][45738][DOCA][INF][gpunetio_simple_receive_main.c:167][main] Starting the sample
[14:43:24:221936][45738][DOCA][INF][gpunetio_simple_receive_main.c:197][main] Sample configuration:
GPU 01:00.0
NIC 03:00.0

[14:43:24:224115][45738][DOCA][WRN][engine_model.c:90][adapt_queue_depth] adapting queue depth to 128.
EAL: Detected CPU lcores: 16
EAL: Detected NUMA nodes: 1
EAL: Detected shared linkage of DPDK
EAL: Multi-process socket /var/run/dpdk/rte/mp_socket
EAL: Selected IOVA mode ‘PA’
TELEMETRY: No legacy callbacks, legacy socket not created
EAL: Probe PCI driver: mlx5_pci (15b3:101b) device: 0000:03:00.0 (socket -1)
mlx5_net: [mlx5dr_table_init_check_hws_support]: HWS not supported, cannot create mlx5dr_table
mlx5_net: [mlx5dr_table_create]: Failed to initialise table
mlx5_net: Failed to start port 0 0000:03:00.0: fail to configure port
[14:43:24:314371][45738][DOCA][ERR][doca_dpdk.cpp:1111][priv_doca_dpdk_port_start] Failed to start dpdk port: Operation not supported

Does this nic simply not support Hardware Steering (HWS) and that code will never run on this card or am I doing something wrong?

The DPDK documentation on HW Steering with mlx5 devices just states “NIC ConnectX-5 and before are not supported.”, so it should work, right?

Best regards,
Michael F

Did you ever find a solution for this? Stuck at the same point

No, unfortunately not. I have put this topic on the backburner for now. Would still appreciate an official answer.

This is a FW issue. Did you install the latest FW on your card? Older FW versions don’t support this HWS mode. Btw this is a DOCA Flow + DPDK requirement

Dear Dr. Agostini,

Thanks for your reply!

Yes, I’ve checked and according to mlxfwmanager i’m running the newest firmware (just tested with 20.43.1014 and 20.43.2026) and the problem persists.

Is this a limitation of the ConnectX-6 VPI cards which seem to be on an older version of the firmware compared to the ConnectX-6 DX Cards (major version 20 vs. 22)?

Best regards,
Michael F