doca-dpa
БесплатноБез исполняемых скриптовНе проверенUse this skill when the user is doing hands-on DOCA DPA host-side work on a BlueField — creating the `doca_dpa` Core context, loading a DPACC-compiled DPA app…
от NVIDIA★ 4 269 звёзд на GitHubОб этом скилле
DOCA DPA
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
- "Run compute on the DPA from my host." — this is in scope.
Stay on
doca_dpa+ a DPACC-built image; do not rewrite it as host-CPU or GPUNetIO. - "DPA kernel hangs, no completion." — drain
doca_dpa_completionand check DOCA/DPACC version skew before changing the kernel.
Instructions
Follow Loading order below. Open the tasks companion for configure / launch / debug. Open the capabilities companion for threads vs kernels and the DPA cap query. Do not open every companion file.
Where to start: This skill assumes DOCA is already installed,
the user's BlueField has a DPA processor and the host can see it
through DOCA, and the user is doing hands-on DPA work from the
host side — i.e. using doca-dpa to load a DPA application
image, launch DPA kernels, and exchange data with the DPA
processor. Open the tasks companion if the user wants to do
something (configure / build / modify / run / test / debug); open
the capabilities companion when the question is what
can the host-side DPA API express on this version + this
BlueField generation. If the user has not installed DOCA yet,
route to doca-setup/SKILL.md first; if the
user is asking how to write the DPA-side kernel itself (the
code that runs on the DPA processor, compiled by dpacc), that
is a different scope — route via
doca-public-knowledge-map/SKILL.md
to the public DOCA DPA / DPACC / DPA-Comms / DPA-Verbs guides
(this skill does not redefine those DPA-side surfaces).
Audience
This skill serves external developers building applications
that consume the DOCA DPA library from the host side — i.e.,
users whose code calls doca_dpa_* from host C / C++ to stand
up the per-DPA-instance context, load a DPA application image
that dpacc produced from their DPA-side source, create one or
more DPA threads, launch DPA kernels with arguments, and drain
completions. It is not for NVIDIA developers contributing to
DOCA DPA itself, nor is it the place to learn how to write
the DPA-side kernel code (that path goes through the public
DOCA DPA, DPACC, DPA-Comms, and DPA-Verbs guides via
doca-public-knowledge-map/SKILL.md).
Language scope. DOCA DPA ships as a host-side C library
with pkg-config module name doca-dpa. The host-side API is
C; the DPA-side kernel is a separate translation unit written
in the language the DPACC compiler accepts and compiled by
dpacc into a binary that the host packages into the
executable as the DPA application image. The shipped samples
under /opt/mellanox/doca/samples/doca_dpa/ are written in C
plus DPA-side source (NVIDIA's choice). Other-language
consumers are limited in practice — the DPA-side kernel has no
FFI escape hatch because it must be a translation unit dpacc
accepts — but a Rust / Go / Python host-side wrapper that drives
doca_dpa_* setup and launches a DPA kernel image built
separately is still useful, and the skill keeps the lifecycle,
capability-discovery, env-precondition, and error-taxonomy
guidance language-neutral.
When to load this skill
Load this skill when the user is doing hands-on DOCA DPA work
from the host side, in any host language plus a DPA-side
translation unit built by dpacc. Concretely:
- Initializing a
doca_dpaagainst adoca_devthat maps to a BlueField with a DPA processor visible to the host. - Loading a DPA application image (
doca_dpa_app) thatdpaccproduced from the user's DPA-side source, into thedoca_dpacontext. - Creating one or more DPA execution contexts (
doca_dpa_thread) so DPA kernels have somewhere to run on the DPA processor. - Launching a DPA kernel function with arguments from the host
via the
doca_dpa_kernel_launch_update_*family, and reasoning about which argument shape is supported on this install. - Attaching a
doca_dpa_completionto observe when async DPA work finishes, and draining it from the host side. - Checking which DPA features are supported on the active
doca_devinfovia thedoca_dpa_cap_*family — BlueField generations differ in DPA hardware support. - Debugging a
DOCA_ERROR_*returned from adoca_dpa_*call — in particular disambiguating DPA not present on this BlueField from DPA feature too new for this hardware generation from DPACC-produced image mismatched against the host-side DOCA install from DPA driver layer reporting failure. - Designing host-side bindings in a non-C language that drive
a DPA application image they built separately with
dpacc— the env-precondition and cap
Установить doca-dpa в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл doca-dpa?
Use this skill when the user is doing hands-on DOCA DPA host-side work on a BlueField — creating the `doca_dpa` Core context, loading a DPACC-compiled DPA app image (`doca_dpa_app`), creating DPA threads, launching kernels via `doca_dpa_kernel_launch_update_*`, draining `doca_dpa_completion`, running `doca_dpa_cap_*` discovery, choosing between the DPA comm component (inter-DPA messaging) and the DPA verbs component (in-kernel RDMA), or debugging `DOCA_ERROR_*` from `doca_dpa_*`. Trigger even without "DOCA DPA" or "Data-Path Accelerator": "run compute on the DPA from my host", "DPA kernel hangs, no completion", "DOCA_ERROR_DRIVER on launch", "DOCA/DPACC version skew", or "does this BlueField expose a DPA". Route elsewhere for DPA-side kernel programming itself, DPACC compiler internals, host↔DPU messaging (doca-comch), host-side RDMA (doca-rdma), and GPU-initiated networking (doca-gpunetio).
Как установить скилл doca-dpa?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл doca-dpa запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
от Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
от Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
от Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
от Anthropic