doca-dpdk-bridge
БесплатноБез исполняемых скриптовНе проверенUse this skill when the user has an existing DPDK application and is adding DOCA capabilities in-place — most commonly DOCA Flow hardware steering — without…
от NVIDIA★ 4 269 звёзд на GitHubОб этом скилле
DOCA DPDK Bridge
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 add DOCA Flow to my DPDK app?" — this is in
scope. Bind the DPDK port with
doca_dpdk_port_probe; do not rewrite the data-plane as nativedoca-eth. - "DOCA_ERROR_NOT_FOUND on port registration." — check the DPDK/DOCA matched-pair window before changing the probe call.
Instructions
Follow Loading order below. Open the tasks companion for configure / probe / debug. Open the capabilities companion for port binding and mbuf conversion. Do not open every companion file.
Where to start: This skill assumes DOCA is already installed,
DPDK is already installed, the user has an existing DPDK
application, and they want to add DOCA capabilities to it
in-place (most commonly DOCA Flow for hardware steering)
without migrating the data-plane to DOCA-native APIs. 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
the bridge can express on this version. If the user has not
installed DOCA yet, route to
doca-setup/SKILL.md first. If the user is
starting fresh (no DPDK code yet) and just wants line-rate
packet I/O against DOCA, route to
doca-eth/SKILL.md instead — the bridge exists
for the interop case, not the start-fresh case.
How to use this skill. Read this file, then search the companion file
for the ## <name> heading the question needs and read that whole section.
Answer completely from it, quoting only its symbols and commands. Do not
browse docs; use the entry points in doca-public-knowledge-map. Give
environment checks as commands for the user's DOCA host. For out-of-scope
requests, name the skill that owns them and stop.
Example questions this skill answers well
The CLASSES of DOCA DPDK Bridge 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.
- "I have a DPDK app — how do I add DOCA Flow rules to it
without rewriting the data-plane?" — worked example: "my
packet-processing app already drives mbufs through
rte_eth_*ports; I want to install DOCA Flow steering rules on those ports for HW offload". Answered by the bridge-vs-native selection rule inCapabilities and modes
- the port-handover workflow in
configure step 3.
- "How do I make a DPDK port visible to DOCA?" — worked
example: "I have a DPDK port id from
rte_eth_dev_*; how does DOCA see it". Answered by the DPDK-port-id ↔doca_devmapping (doca_dpdk_port_probe/doca_dpdk_port_as_dev) inCapabilities and modes
bridge-objects table + the binding workflow inconfigure step 4.
- "How do I move packets between DPDK mbufs and DOCA bufs?" —
worked example: "DPDK delivers an
rte_mbufto my fastpath; I want a DOCA library to operate on the payload". Answered by the mbuf ↔ DOCA-buf conversion shape inCapabilities and modes
- the conversion-step workflow in
modify.
- "Is the bridge even installed and is its DPDK compatible
with my DOCA?" — worked example: "
pkg-config --exists doca-dpdk-bridgereturns failure on a host that has DPDK separately installed". Answered by the version-coupling rule inVersion compatibility
- the cap-check workflow in
configure step 1.
- "Should I be using
doca-dpdk-bridgeordoca-eth?" — worked example: "new project; I have not committed to DPDK yet". Answered by the path-selection table inCapabilities and modes
bridge-vs-native row + the deferred-verbs note inDeferred task verbs.
- "What does this
DOCA_ERROR_*from a bridge call mean and which layer caused it?" — worked example: "DOCA_ERROR_NOT_FOUNDon a port-registration call after the DPDK port came up cleanly". Answered by the bridge overlay on the cross-library taxonomy inError taxonomy
- the layered ladder in
debug that escalates to
doca-debug/SKILL.md.
Audience
This skill serves external developers who already maintain a
DPDK-based packet-processing application — i.e., users whose
data-plane already drives rte_eth_* ports and rte_mbuf
buffers — and who want to add DOCA capabilities (most
commonly hardware steering via DOCA Flow) by linking the bridge
into the same process. It is not for users starting a fresh
DOCA-native project (route to doca-eth/SKILL.md)
and not for users running pure DPDK with no interest in DOCA
(no skill
Установить doca-dpdk-bridge в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл doca-dpdk-bridge?
Use this skill when the user has an existing DPDK application and is adding DOCA capabilities in-place — most commonly DOCA Flow hardware steering — without rewriting the data-plane in DOCA-native form: binding a DPDK port id to a `doca_dev` (`doca_dpdk_port_probe` / `doca_dpdk_port_as_dev`), converting `rte_mbuf` ↔ `doca_buf`, querying `doca_dpdk_cap_is_rep_port_supported`, or debugging `DOCA_ERROR_*` from a bridge call. Trigger even without "DOCA DPDK Bridge": "how do I add DOCA Flow to my DPDK app", "make a DPDK port visible to DOCA", "the bridge loads but every operation returns errors", "pkg-config --exists doca-dpdk-bridge fails", or "DOCA_ERROR_NOT_FOUND on port registration". Route elsewhere for fresh DOCA-native packet I/O (doca-eth), flow-rule programming (doca-flow), DOCA or DPDK install (doca-setup), or RDMA data movement (doca-rdma).
Как установить скилл doca-dpdk-bridge?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл doca-dpdk-bridge запускает скрипты?
Нет, скилл состоит только из инструкций (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