I am trying to run a Doca Flow sample on a Bluefield3, running the newest doca2.7. When running with the following command, I get the following failure.
sudo ./doca_flow_drop –a 03:00.0,dv_flow_en=2 –a 03:00.1,dv_flow_en=2
ubuntu@localhost:/tmp/build$ sudo ./doca_flow_drop –a 03:00.0,dv_flow_en=2 –a 03:00.1,dv_flow_en=2
[00:43:30:791474][8511][DOCA][INF][flow_drop_main.c:58][main] Starting the sample
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'
EAL: Probe PCI driver: mlx5_pci (15b3:a2dc) device: 0000:03:00.0 (socket -1)
EAL: Probe PCI driver: mlx5_pci (15b3:a2dc) device: 0000:03:00.1 (socket -1)
TELEMETRY: No legacy callbacks, legacy socket not created
[00:43:32:483678][8511][DOCA][WRN][engine_model.c:90][adapt_queue_depth] adapting queue depth to 128.
[00:43:32:592257][8511][DOCA][ERR][dpdk_port.c:748][dpdk_port_configure] failed port configure - port 0 - rte flow configure, type 1 message: port configure with incorrect steering mode
[00:43:32:592294][8511][DOCA][ERR][dpdk_port.c:1001][dpdk_port_create] failed to create dpdk port 0 - port configuration ret=-95
[00:43:32:593783][8511][DOCA][ERR][dpdk_port_legacy.c:835][dpdk_port_legacy_create] failed to create port - creating dpdk port
[00:43:32:593813][8511][DOCA][ERR][dpdk_port_legacy.c:1046][port_create] dpdk port creation failed
[00:43:32:593824][8511][DOCA][ERR][engine_port.c:521][engine_port_create] failed creating port - driver port creation error for port indexed 0
[00:43:32:593833][8511][DOCA][ERR][doca_flow.c:1504][doca_flow_port_start] failed creating doca flow port - port creation failed
[00:43:32:593860][8511][DOCA][ERR][flow_common.c:181][create_doca_flow_port] Failed to start doca_flow port: Unknown error
[00:43:32:593869][8511][DOCA][ERR][flow_common.c:227][init_doca_flow_ports] Failed to start port: Unknown error
[00:43:32:593875][8511][DOCA][ERR][flow_drop_sample.c:254][flow_drop] Failed to init DOCA ports: Unknown error
[00:43:32:594164][8511][DOCA][ERR][flow_drop_main.c:82][main] flow_drop() encountered an error: Unknown error
Tx port 0 is already stopped
[00:43:32:594250][8511][DOCA][ERR][dpdk_utils.c:107][unbind_hairpin_queues] Failed to bind hairpin queues (-16)
[00:43:32:594266][8511][DOCA][ERR][dpdk_utils.c:199][disable_hairpin_queues] Disabling hairpin queues failed: err=21, port=0
Tx port 0 is already stopped
[00:43:32:594298][8511][DOCA][ERR][dpdk_utils.c:120][unbind_hairpin_queues] Failed to bind hairpin queues (-16)
[00:43:32:594307][8511][DOCA][ERR][dpdk_utils.c:199][disable_hairpin_queues] Disabling hairpin queues failed: err=21, port=1
Device with port_id=5 already stopped
Device with port_id=4 already stopped
Device with port_id=3 already stopped
Device with port_id=2 already stopped
Device with port_id=0 already stopped
[00:43:33:591448][8511][DOCA][INF][flow_drop_main.c:98][main] Sample finished with errors
Anybody know what to do to fix this? Thanks for the help