DOCA Verbs
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
- "I need raw verbs below DOCA RDMA." Answer in this order:
1. First question whether doca-rdma already covers the case (the path
selection rule below); the most common mistake is dropping to raw verbs
unnecessarily. Only a raw QP / CQ / WR / SRQ / Address-Handle attribute
need justifies doca-verbs.
2. Versions: pkg-config --modversion doca-verbs must match `doca_caps
--version and pkg-config --modversion doca-common`; the whole
doca_verbs_* ABI is EXPERIMENTAL on this release, so pin it.
3. Completions have three paths: the progress engine (doca_pe_progress),
manual CQ polling (doca_verbs_bridge_poll_cq), or a completion channel
(doca_verbs_comp_channel_create, doca_verbs_get_cq_event,
doca_verbs_ack_cq_events).
4. DOCA_ERROR_IO_FAILED means the submit succeeded but the completion
reports an error: read the CQE error field after draining the CQ, not the
submit return.
- "Should I use doca-verbs or doca-rdma?" — ordinary RDMA data
movement with no raw QP / CQ / WR / SRQ / Address-Handle attribute
named is out of scope — route to
doca-rdma/SKILL.md.
- "I need a raw QP attribute the task API does not expose." — stay
here. Use only the installed doca_verbs.h surface.