What problem does it solve?
Developers building fleet-management or device-administration tools against NVIDIA BlueField DPUs and ConnectX NICs need to query and modify device-level state programmatically, but the DOCA Management API surface is EXPERIMENTAL, safety-critical, and easy to misuse — a wrong raw-command scope or an unrollbackable write can leave a device in an unrecoverable state.
Core Features & Use Cases
- Management context workflows: Step-by-step guidance for standing up
doca_mgmt_dev_ctx and doca_mgmt_dev_rep_ctx contexts, probing sub-domain capability gates, and applying the correct lifecycle ordering.
- Safe device-state modification: An apply-with-rollback discipline for caps-general, congestion-control, diagnostics-data, and ICM-quota writes, including pre-state capture, narrowest-scope selection for
doca_mgmt_raw_cmd, and post-write re-query verification.
- Error diagnosis: A doca-mgmt overlay on the
DOCA_ERROR_* taxonomy that maps failures like DOCA_ERROR_IO_FAILED and DOCA_ERROR_OPERATING_SYSTEM to configuration, fwctl, firmware, or driver layers.
- Use Case: A fleet tool walks every BlueField in a data center, reads each device's data-direct capability, toggles it on a VF representor, and rolls back safely if the post-write state diverges from intent.
Quick Start
Ask your agent to walk you through opening a doca_mgmt_dev_ctx on a BlueField device and querying its general capabilities with the doca-mgmt skill.