Failed to run DOCA DPA Sample

I am trying to familiarize myself with DPA applications, but I am facing issues during the initialization of DPA devices.

I am using BF3 as NIC mode, and I am running a sample application on the host machine.

I tried DOCA SDK 2.10, 2.9 LTS, 2.5 LTS, and 2.8 but faced the same problem during initialization of the DPA device.

/tmp/build1/doca_dpa_ping_pong -d mlx5_0
[09:50:27:983012][933518][DOCA][INF][dpa_ping_pong_main.c:63][main] Starting the sample
[933518] flexio_create_prm_dpa_uar 551 - Failed to create outbox PRM object. Status is 0x2, syndrome 0xcfcf65.
[933518] flexio_uar_create 713 - Failed to create DPA_UAR object
[933518] process_create 1009 - Failed to create Flex IO UAR
[09:50:28:050577][933518][DOCA][ERR][dpa_runtime.cpp:176][on_start_err] Flexio process create failed
[09:50:28:050623][933518][DOCA][ERR][dpa_runtime.cpp:787][doca_dpa_start] Failed to start dpa context
[09:50:28:050635][933518][DOCA][ERR][dpa_common.c:379][allocate_dpa_resources] Failed to start DOCA DPA context: DOCA Driver call failure
[09:50:28:052818][933518][DOCA][ERR][dpa_ping_pong_main.c:85][main] Failed to Allocate DPA Resources: DOCA Driver call failure
[09:50:28:052835][933518][DOCA][INF][dpa_ping_pong_main.c:111][main] Sample finished with errors

Hello rana.abubakar,

Thank you for posting your inquiry on the NVIDIA Developer Forum - Infrastructure and Networking - Section.

Based on the information provided, there can be several low-level issue with your install/config:

  1. Missing or Incorrect Firmware: The BlueField DPU’s firmware might be missing the necessary components or be an incompatible version to support the DPA feature.
  2. Missing or Incorrect DOCA Driver/Runtime: The DOCA software stack (drivers, libraries) on the host or the DPU might not be installed correctly or is an incompatible version with the firmware.
  3. Resource Limits/System Configuration: On the BlueField DPU, the maximum number of DPA processes or UARs may have been exceeded, or an essential kernel module (like mlx5_ib) is not loaded.
  4. Hardware or Initialization Error: Less common, but a rare hardware error or an issue during the DPU’s boot process could cause this low-level resource creation to fail.

As this is an example of the DPA application code, the following guidance was provided on the main page of the “DOCA Programming Guide”

Please submit your question to the email address provided.

Thank you and regards,

~NVIDIA Networking Technical Support

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.