doca-eth
БесплатноБез исполняемых скриптовНе проверенUse this skill for hands-on DOCA Ethernet packet-queue work on a BlueField DPU or ConnectX NIC — bringing up a `doca_eth_rxq` or `doca_eth_txq` on a port /…
от NVIDIA★ 4 269 звёзд на GitHubОб этом скилле
DOCA Ethernet
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
- Any configure, build, run or test answer starts with the version.
Run
pkg-config --modversion doca-ethand check it againstdoca_caps --version(the doca-version four-way match) before claiming any feature is available; then the device capability query on the activedoca_devinfois the runtime authority. - "My RX queue is up but no packets arrive." — RX and TX are two
Core contexts; one
doca_ctx_start()does not cover both. - "Send-task returns AGAIN at line rate." — size burst against
the
_cap_*queries before changing queue type. - "Is this RX type / offload available on my install, and how do I smoke it?"
First the version:
pkg-config --modversion doca-ethmust matchdoca_caps --version(doca-version four-way match); then the device cap on the activedoca_devinfo(doca_eth_rxq_cap_is_type_supported,doca_eth_txq_cap_is_l3_checksum_offload_supported) is the runtime authority. Smoke one packet before scale: one TX, returned by a loopback or external echo, one RX completion. The RX queue only receives what a doca-flow rule steers to it.
Instructions
Follow Loading order below. Open the tasks companion for configure / build / run. Open the capabilities companion for the RX-type taxonomy and send surface. Do not open every companion file.
Where to start: This skill assumes DOCA is already installed and
the user is doing hands-on packet-queue work on a host or
BlueField with DOCA. 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 a DOCA Ethernet queue express on this version. If
the user has not installed DOCA yet, route to
doca-setup/SKILL.md first. RX and TX are
independent Core contexts. A doca_eth_rxq and a doca_eth_txq
each get their own lifecycle (doca_eth_rxq_create / doca_eth_txq_create,
doca_ctx_start / doca_ctx_stop on its context, then
doca_eth_rxq_destroy / doca_eth_txq_destroy); one doca_ctx_start()
does not start both sides.
Do not walk a single lifecycle for "the queue pair". If the user is
asking "how do I get packets to land on my RX queue at all", the
answer lives in doca-flow/SKILL.md — DOCA
Ethernet is the queue surface; DOCA Flow is the steering
surface, and they are independent libraries.
Example questions this skill answers well
The CLASSES of DOCA Ethernet questions this skill is built to answer, each with one worked example. The agent should treat the class as the load-bearing piece — the worked example is a single instance.
- "How do I bring up an RX and TX queue on a representor or
physical port?" — worked example: "set up a
doca_eth_rxqplus adoca_eth_txqon a single BlueField representor for first-run testing". Answered by two independent Core contexts (each with its own start) inconfigure +
Capabilities and modes
RX / TX object table. - "Which RX type fits my data shape — regular, cyclic, or
managed-recv?" — worked example: "line-rate ingress with
fixed-size frames into a pre-allocated buffer ring". Answered
by the RX-type taxonomy in
Capabilities and modes
- the capability-query rule (
doca_eth_rxq_cap_is_type_supportedagainst adoca_devinfo) in
configure.
- the capability-query rule (
- "How do I send a packet from user code through
doca_eth_txq?" — worked example: "allocate a packetdoca_buf, attach the payload, submit one send-task, wait for the completion event". Answered by the TX submission shape inCapabilities and modes
- the property-set workflow in
modify.
- "My queue is up but no packets arrive — why?" — worked
example: "
doca_eth_rxqstarted cleanly but the recv callback never fires". Answered by the steering-dependency rule inSafety policy
- the env-prep checklist in
configure step 1, which
routes the steering side to
doca-flow/SKILL.mdand the promiscuous-mode side todoca-setup/SKILL.md. - "Is this Ethernet capability available on my device + my
installed DOCA?" — worked example: "does this device
advertise L3 checksum offload". Answered by the
capability-query rule (
doca_eth_txq_cap_is_l3_checksum_offload_supportedagainst adoca_devinfo) inCapabilities and modes
- the version-and-device overlay in
Version compatibility.
- "What does this
DOCA_ERROR_*from an Ethernet call mean and which layer caused it?" — worked example: *"`DOCA_ERROR_AG
Установить doca-eth в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл doca-eth?
Use this skill for hands-on DOCA Ethernet packet-queue work on a BlueField DPU or ConnectX NIC — bringing up a `doca_eth_rxq` or `doca_eth_txq` on a port / representor / SF, picking among the four `enum doca_eth_rxq_type` values (`_REGULAR` / `_CYCLIC` / `_MANAGED_MEMPOOL` / `_SHARED_MEMPOOL`), sizing burst or scatter-gather length against the `_cap_*` queries, submitting `doca_eth_txq_task_send` / `_lso_send` (carrying packet `doca_buf`s — no `doca_eth_frame` struct exists), or debugging DOCA_ERROR_* from an Ethernet call. `doca_eth_rxq` and `doca_eth_txq` are two Core contexts; one `doca_ctx_start()` does not cover both. Trigger on implicit phrasings: "my RX queue is up but no packets arrive", "send-task returns AGAIN at line rate", "which queue type for fixed-MTU ingress", "device open fails without sudo", or "is L3 checksum offload available here". Refuse and route elsewhere for installing DOCA, flow-rule / steering programming, host↔DPU control messaging, or RDMA data movement.
Как установить скилл doca-eth?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл doca-eth запускает скрипты?
Нет, скилл состоит только из инструкций (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