Dev & Engineering ✓ NVIDIA · Official doca-comchbluefielddpupcie-messagingroceffi

DOCA Comch Host–DPU Messaging

Guides developers through configuring, building, and debugging Comch messaging between a host and a BlueField DPU.

FollowSkills review · FSRS-2.0
Not recommended
53/ 100 5-point scale 2.7 / 5
Trust17 / 25 · 3.4/5

The skill clearly scopes itself to an already-installed DOCA environment and a host/BlueField pair, separates host/DPU roles, requires representor, PCIe, and capability checks, and warns against secret disclosure. However, it includes sudo, mlxconfig, device, and kernel-diagnostic commands without explicit confirmation gates, least-privilege limits, sensitive-data handling, rollback, or recovery procedures, so points are deducted.

Reliability7 / 20 · 1.8/5

The documents provide a fairly complete lifecycle, error taxonomy, progress-engine guidance, and layered debugging flow, with a static benchmark report. Nothing was executed here, so key-path reliability rests on textual consistency. The files also contain inconsistent descriptions of client connection callbacks, several overly strong “always/most often” claims, and no reproducible abnormal-input examples; the score remains below the static ceiling.

Adaptability11 / 15 · 3.7/5

Triggers, audience, environment, slow/fast-path selection, and out-of-scope boundaries are explicit, including C/C++ and FFI consumers. There is no Chinese-language guidance or terminology mapping, and mainland-China network fit is not discussed. The core function also depends on local Linux, the DOCA SDK, BlueField hardware, and representor availability, limiting general applicability.

Convention9 / 15 · 3.0/5

The SKILL.md loader and CAPABILITIES.md/TASKS.md split provide useful progressive disclosure, dependency notes, version handling, command guidance, limitations, related skills, evaluation material, and issue contacts. However, the benchmark identifies missing recommended Instructions/Examples sections; author, version, signature, and signing fields remain TBD; and license declarations differ across files, leaving governance and maintenance details incomplete.

Effectiveness6 / 15 · 2.0/5

The intended tasks, role split, capability queries, build, run, test, and debugging workflows are concrete enough to support the core use case. However, the skill ships no runnable examples or templates, depends on local samples and companion skills, and was not executed in this review. The benchmark reports effectiveness but its dataset is unavailable, so only a conservative static score is justified.

Verifiability3 / 10 · 1.5/5

Evidence includes concrete API symbols, commands, error mappings, cross-links, eval definitions, and a benchmark report. The evaluation dataset, CI/test suite, and independent reproduction materials are absent; SKILLCARD signature and scan fields are also TBD. Many technical claims therefore cannot be cross-checked from the supplied files, warranting a low score.

Evidence confidence:Low Reviewed Jul 20, 2026 Reviewed revision 55f18499943e
Before you use it
  • Add explicit user confirmation, privilege scoping, and output-redaction requirements before running sudo, mlxconfig, dmesg, or device-diagnostic commands.
  • The client connection-state callback description is inconsistent; verify the API against the installed DOCA headers and official documentation before use.
  • Do not treat the benchmark's unreproducible results as independent test evidence; add committed, repeatable tests and CI.
  • Unify and populate the license, version, signature, and maintenance metadata.
See the full review method →

What does this skill do, and when should you use it?

This skill is for external developers using the DOCA Comch C library to exchange control or data messages between a host process and a BlueField agent over PCIe. It covers DPU-server and host-client roles, connection lifecycle, slow-path versus fast-path choices, capability discovery, permission issues, and DOCA_ERROR_* troubleshooting. It assumes DOCA is already installed and uses CAPABILITIES.md and TASKS.md for detailed guidance. It does not cover DOCA installation, firmware bring-up, non-Comch libraries, or large-scale deployment.

Reads the local pkg-config doca-comch installation information and inspects /opt/mellanox/doca/{lib,include,samples,applications}. It guides configuration of doca_comch_server, doca_comch_client, receive callbacks, producers/consumers, and connection callbacks; queries maximum message size, maximum clients, and queue properties; and provides configure, build, modify, run, test, and debug workflows. It classifies DOCA_ERROR_* failures across lifecycle, permission, capability, and would-block layers.

  1. A host-and-BlueField developer needs to bring up a Comch channel with the DPU as server, the host as client, and exchange an initial control message.
  2. A developer moving higher-throughput data needs to choose between the slow send-task/recv-callback path and the fast producer/consumer path.
  3. A developer needs to check whether a Comch capability exists in the installed DOCA version, including the DOCA 2.5 Comm Channel rename.
  4. A developer is diagnosing an invisible representor, `DOCA_ERROR_NOT_PERMITTED`, `DOCA_ERROR_AGAIN`, or a connection callback that never fires.
  5. A Rust, Go, or Python FFI maintainer needs language-neutral guidance for the Comch C ABI lifecycle, roles, permissions, and capabilities.

What are this skill's strengths and limitations?

Pros
  • Covers Comch roles, lifecycle, slow-path and fast-path communication.
  • Includes capability queries, connection observability, permission policy, and layered error diagnosis.
  • Applies to C/C++ and other languages using the same C ABI through FFI.
  • Clearly routes DOCA installation, firmware bring-up, and non-Comch questions elsewhere.
Limitations
  • Requires an existing DOCA SDK, Linux host, and BlueField pair; it does not install DOCA or handle firmware bring-up.
  • It is a thin loader and does not include buildable application source, bindings, sample subtrees, or standalone build manifests.
  • The supplied SKILL.md does not include the full contents of CAPABILITIES.md or TASKS.md, and provides no concrete test results.
  • It mentions sudo as an expected DPU-side privilege for host-representor visibility but does not document validation across all hardware and platform combinations.

How do you install this skill?

Install the individual skill with the default skills CLI: npx skills add nvidia/skills --skill doca-comch --yes. The README does not specify another required destination; the CLI prompts for the installation target.

How do you use this skill?

Ensure that the Linux host and BlueField pair already have the DOCA SDK installed. Then give the agent a concrete request such as: Configure a DOCA Comch channel between the host and BlueField DPU, with the DPU as server and the host as client, and exchange one control message. For configure, build, modify, run, test, or debug tasks, the skill uses TASKS.md; for capability questions, it uses CAPABILITIES.md.

FAQ

Does this skill install DOCA?
No. It assumes DOCA is already installed and routes users without an installation to `doca-setup`.
What does it require?
A Linux host and BlueField pair, the DOCA SDK installed at `/opt/mellanox/doca`, and `pkg-config doca-comch`; installations older than 2.5 may use the legacy module name `doca-comm-channel`.
Which communication modes are covered?
It covers the message-oriented slow path using send tasks and receive callbacks, plus the asynchronous, higher-throughput producer/consumer fast path.
Can it help with permission failures?
Yes. It analyzes representor visibility, permissions, lifecycle, capabilities, and would-block conditions, while routing environment-preparation issues to `doca-setup`.

More skills from this repository

All from NVIDIA/skills

Dev & Engineering ✓ NVIDIA · Official

DOCA Environment Setup

Verify, prepare, and troubleshoot the DOCA environment while routing workloads to the right deployment path.

Dev & Engineering ✓ NVIDIA · Official

DOCA Programming Guide

Guides developers through building, testing, and debugging library-agnostic DOCA applications from shipped samples.

Dev & Engineering ✓ NVIDIA · Official

DOCA RDMA Programming Guide

Helps developers build, configure, and debug DOCA RDMA applications on BlueField, ConnectX, and DOCA hosts.

Dev & Engineering ✓ NVIDIA · Official

DOCA SHA Acceleration

Guidance for offloading SHA hashing to NVIDIA BlueField and ConnectX hardware.

Dev & Engineering ✓ NVIDIA · Official

DOCA Rivermax Receive Development

Guides developers through building, validating, and debugging DOCA Rivermax receive applications for real-time network streams.

Dev & Engineering ✓ NVIDIA · Official

DOCA Hardware Telemetry Counter Reader

Guides developers in reading per-domain hardware counters from BlueField and ConnectX devices.

Automation & Ops ✓ NVIDIA · Official

DOCA Hardware Safety

A rollback-oriented operating discipline for live DPU and NIC hardware changes.

Automation & Ops ✓ NVIDIA · Official

DOCA Capabilities Inspector

Inspect what DOCA can see on a host through a read-only device and capability CLI.

Dev & Engineering ✓ NVIDIA · Official

DOCA Flow DPA Performance

Guides defensible measurement of DOCA Flow rule-update and disable rates on DPA-capable NVIDIA hardware.

Automation & Ops ✓ NVIDIA · Official

DOCA PCC Diagnostic Counters

Read fixed firmware and hardware PCC congestion diagnostics on ConnectX and BlueField devices.

Automation & Ops ✓ NVIDIA · Official

DOCA Telemetry Utils

Discover telemetry counters, translate Data IDs, and verify BlueField support before committing exporter configuration.

Dev & Engineering ✓ NVIDIA · Official

DOCA Verbs Raw RDMA Control

Guides DOCA developers who genuinely need low-level verbs control, porting, and diagnosis.

Automation & Ops ✓ NVIDIA · Official

DOCA Management Service Operations

Operate and troubleshoot NVIDIA DMS for centralized BlueField and ConnectX management.

Dev & Engineering ✓ NVIDIA · Official

DOCA GPUNetIO Development Skill

Helps developers connect CUDA kernels on NVIDIA GPUs to DOCA network queues for GPU-side packet I/O and debugging.

Dev & Engineering ✓ NVIDIA · Official

DOCA STA Storage Target Acceleration

Build and debug RDMA NVMe-oF storage targets accelerated by DOCA STA on BlueField.

Automation & Ops ✓ NVIDIA · Official

DOCA Structured Tools Contract

A governed fallback contract for consolidating DOCA environment, device, capability, validation, and host-DPU state data.

Dev & Engineering ✓ NVIDIA · Official

DOCA Telemetry Exporter Development

Guides DOCA applications in defining, emitting, and debugging structured telemetry for external consumers.

Automation & Ops ✓ NVIDIA · Official

DOCA Upgrade Control

Safely gate DOCA upgrades and rollbacks with explicit confirmation.

Automation & Ops ✓ NVIDIA · Official

DOCA Bench Benchmarking Skill

Measure DOCA library throughput, latency, and bandwidth reproducibly on real NVIDIA networking hardware.

Automation & Ops ✓ NVIDIA · Official

DOCA CollectX Telemetry Deployment

Deploy, operate, and debug CollectX telemetry collectors so counters reach downstream exporters.

Related skills