What problem does it solve?
Developers writing host-side programs against NVIDIA DOCA DPA on BlueField DPUs face a two-side-program model, version-sensitive DOCA/DPACC coupling, and confusing DOCA_ERROR_* failures; this Skill gives an AI agent the correct workflows and routing rules to configure, build, run, test, and debug that host-side DPA code.
Core Features & Use Cases
- Host-side DPA lifecycle guidance: Walks through creating the doca_dpa context, loading a DPACC-compiled doca_dpa_app image, creating doca_dpa_thread execution contexts, launching kernels via doca_dpa_kernel_launch_update_*, and draining doca_dpa_completion.
- Capability and version discovery: Enforces dual-axis capability checks (doca_dpa_cap_* queries plus BlueField generation) and DOCA/DPACC version matching per the DOCA Compatibility Policy.
- Error taxonomy and debug ladder: Maps DOCA_ERROR_NOT_SUPPORTED, _DRIVER, _AGAIN, _INVALID_VALUE, and _BAD_STATE to DPA-specific root causes, including DPA-Comms and DPA-Verbs device-side overlays.
- Use Case: A developer asks why their DPA kernel launch returns DOCA_ERROR_DRIVER; the agent checks pkg-config doca-dpa and dpacc versions, identifies a DOCA/DPACC skew, and prescribes rebuilding both sides.
Quick Start
Ask your agent to help you load a DPACC-compiled DPA application image and launch a DPA kernel from your host program on a BlueField.