DOCA programming guide
Host checks. Commands here that inspect the user's DOCA host (listing or reading
/opt/mellanox/doca, release files such as/etc/mlnx-releaseor/etc/nvidia/bf-release,/dev/mst) or reach the BlueField (RShim, SSH, BMC) are for that host. Run them yourself only if the user confirms you are on it; otherwise answer from this skill, give the commands for the user to run, and treat values you can't see as unknown.
Examples
- "How do I write my first DOCA program?" — copy a shipped sample
and follow the modify workflow, then the canonical pkg-config + meson
build. Docker / NGC can compile and link; runtime needs a real
BlueField or ConnectX.
- "What's the lifecycle every DOCA object follows?" — create →
configure → start → connect → use → stop → destroy. Configuration
finishes before start.
Instructions
Follow Loading order below. Open the tasks companion for how-to and
the capabilities companion for coverage. Do not open every companion
file.