What problem does it solve?
Before changing any DOCA, driver, or firmware state, operators and agents need a safe, side-effect-free way to confirm what DOCA actually sees on a host — which devices, representors, and libraries are available — instead of inferring capability from hardware model numbers.
Core Features & Use Cases
- Device and representor enumeration: Run
doca_caps --list-devs and --list-rep-devs, optionally scoped with --pci-addr, to list DOCA-visible PCIe devices and representors.
- Library availability and capability checks: Confirm which DOCA libraries the current OS supports and whether a specific device supports a specific library capability.
- Capability snapshots for debugging: Capture verbatim
doca_caps output as ground-truth evidence consumed by install smoke-tests and downstream debug workflows.
- Use Case: An agent asked "is my BlueField PF visible to DOCA" runs
doca_caps --list-devs, quotes the output, and diagnoses empty results through a layered error taxonomy instead of guessing.
Quick Start
Ask your agent to run doca_caps --list-devs and report which DOCA devices and PCIe addresses are visible on this host.