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`), conver…
Install / Use
npx skills add NVIDIA/skills --skill doca-dpdk-bridgeInstalls into whichever agent you are using.
SKILL.md
Installable skill definition
Quality Score
Category
Content & MediaSupported Platforms
Tags
Our assessment of doca-dpdk-bridge
doca-dpdk-bridge scores 88/100 on our quality scale, 305th of 770 Content & Media skills we index (top 40%).
Its SKILL.md is 15 KB long, well organised into 8 sections and no code examples: a thorough specification that gives an agent plenty to work with.
With 3,421 GitHub stars, it is one of the more widely adopted skills in the catalogue.
Maintenance, license and trust
- The repository was last updated 5 days ago, so doca-dpdk-bridge is actively maintained.
- It is released under the Apache-2.0 license, a permissive license that allows use, modification and commercial use with attribution.
- Its trust signals score 100/100, with no cautions. These come from repository metadata, not a code audit — read the skill file before letting an agent act on it.
doca-dpdk-bridge compared with similar skills
All 4 of these similar skills score higher than doca-dpdk-bridge; compare them before choosing.
| Skill | Score | Stars | Updated | Format |
|---|---|---|---|---|
| doca-dpdk-bridge (this skill)by NVIDIA | 88 | 3.4k | 5d ago | SKILL.md |
| siyuanby siyuan-note | 100 | 46.5k | today | MCP Server |
| algorithmic-artby anthropics | 100 | 177.9k | 6d ago | SKILL.md |
| pptxby anthropics | 100 | 177.9k | 6d ago | SKILL.md |
| designby nextlevelbuilder | 100 | 130.2k | 7d ago | SKILL.md |
Frequently asked questions
- How do I install doca-dpdk-bridge?
- Run
npx skills add NVIDIA/skills --skill doca-dpdk-bridge. The install tabs above show the steps for each supported agent. - Which AI agents does doca-dpdk-bridge work with?
- It is written for Universal, as a SKILL.md file. Other agents that read the same format can often use it too.
- Is doca-dpdk-bridge safe to use?
- It is Apache-2.0-licensed and scores 100/100 on trust signals. Skills are instructions an agent will follow, so read the file before installing it and do not approve commands you do not understand.
- Is doca-dpdk-bridge still maintained?
- The repository was last updated 5 days ago, so doca-dpdk-bridge is actively maintained.
Skill content
View source on GitHublicense: Apache-2.0
name: doca-dpdk-bridge
description: >
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).
metadata:
kind: library
compatibility: >
Requires DOCA SDK installed at /opt/mellanox/doca on Linux
(Ubuntu 22.04/24.04 or RHEL/SLES) with a BlueField DPU or
ConnectX NIC attached, plus a separate DPDK install whose
version falls within the bridge's matched-pair window. Reads
the user's local install via pkg-config doca-dpdk-bridge and
pkg-config libdpdk, and inspects
/opt/mellanox/doca/{lib,include,samples,applications}.
DOCA DPDK Bridge
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
TASKS.md if the user wants to do something
(configure / build / modify / run / test / debug); open
CAPABILITIES.md when the question is what
the bridge can express on this version. If the user has not
installed DOCA yet, route to
doca-setup 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 instead — the bridge exists
for the interop case, not the start-fresh case.
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.md ## Capabilities and modes- the port-handover workflow in
TASKS.md ## configurestep 3.
- the port-handover workflow in
- "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.md ## Capabilities and modesbridge-objects table + the binding workflow inTASKS.md ## configurestep 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.md ## Capabilities and modes- the conversion-step workflow in
TASKS.md ## modify.
- the conversion-step workflow in
- "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 inCAPABILITIES.md ## Version compatibility- the cap-check workflow in
TASKS.md ## configurestep 1.
- the cap-check workflow in
- "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.md ## Capabilities and modesbridge-vs-native row + the deferred-verbs note inTASKS.md ## Deferred 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 inCAPABILITIES.md ## Error taxonomy- the layered ladder in
TASKS.md ## debugthat escalates todoca-debug.
- the layered ladder in
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)
and not for users running pure DPDK with no interest in DOCA
(no skill in this bundle applies). It is also not for NVIDIA
developers contributing to DOCA DPDK Bridge itself.
Language scope. DOCA DPDK Bridge ships as a C library with
pkg-config module name doca-dpdk-bridge (the agent must
confirm the spelling against the user's install via
pkg-config --exists doca-dpdk-bridge; some DOCA releases use a
slightly different module name and the agent must not guess).
The shipped samples are written in C. C and C++ consumers are
the canonical case; the worked examples in TASKS.md assume
that path. Other-language consumers (Rust, Go, Python, …)
typically do not use this bridge — DPDK itself is C-shaped, and
a non-C DPDK app is rare; if the user is in that minority, the
skill's contribution is to keep the port-handover, capability,
permission, and error-taxonomy guidance language-neutral and
route them to the public C ABI as the authoritative surface.
When to load this skill
Load this skill when the user is doing hands-on DOCA DPDK Bridge work, in any language. Concretely:
- The user has an EXISTING DPDK application (their data-plane
already drives
rte_eth_dev_*ports andrte_mbufbuffers), and they want to layer DOCA on top — adding DOCA Flow rules, feeding packets into a DOCA accelerator (Compress, AES-GCM, …), or wiring a DOCA service into the same process. - The user needs to bind a DPDK port id to a
doca_dev(viadoca_dpdk_port_probe/doca_dpdk_port_as_dev) so DOCA Core / DOCA Flow can operate on the same physical port. - The user needs to convert between DPDK mbufs and DOCA-bufs at the data-plane boundary, and is asking about the conversion helpers and their cost.
- The user is debugging a
DOCA_ERROR_*returned from a bridge call (lifecycle vs. permission vs. capability vs. DPDK-port-not- registered vs. mbuf-conversion-failed) and the layered DPDK ↔ DOCA stack underneath. - The user is hitting cross-version pain: their DPDK install and their DOCA install are not the matched pair the bridge expects.
- The user is asking "native
doca-ethordoca-dpdk-bridge?" and the agent needs the path-selection rule.
Do not load this skill for general DOCA orientation, install
of DOCA itself, fresh DOCA-native packet I/O (use
doca-eth), flow-rule programming on
its own (use doca-flow), host ↔ DPU
control messaging (use doca-comch),
or RDMA data movement (use doca-rdma).
For DOCA documentation orientation, use
doca-public-knowledge-map.
What this skill provides
This is a thin loader. The body keeps only the orientation needed to pick the right next file. The substantive bridge- specific material lives in two companion files:
CAPABILITIES.md— what the DOCA DPDK Bridge can express on this version: the bridge-vs-native selection rule (when to usedoca-dpdk-bridgevs nativedoca-eth), the bridge-object surface (DPDK-port-id ↔doca_devmapping, thedoca_dpdk_mempoolmbuf ↔ DOCA-buf conversion), the capability-query surface (the singledoca_dpdk_cap_is_rep_port_supported), the bridge error taxonomy (mapped onto the cross-libraryDOCA_ERROR_*set), the observability surface (DPDK-side counters + DOCA-side PE events), and the safety policy that gates the matched-pair DPDK ↔ DOCA version coupling, the EAL-must-be-up precondition, and DPDK-side privileges.TASKS.md— step-by-step workflows for the six in-scope bridge verbs:configure,build,modify,run,test,debug. Plus aDeferred task verbsblock that points out-of-scope questions at the right next skill, and aCommand appendixof the recurring commands the agent reaches for.
The skill assumes a host or BlueField where DOCA AND DPDK are
already installed at the standard locations and the user has the
privileges their public install profile expects (typically sudo
or mlnx-group membership for DOCA, plus the DPDK-side
privileges to mount hugepages, bind PCIe ports, and open the
target rte_eth device). It does not cover installing DOCA —
that path goes through doca-setup;
it does not cover installing or learning DPDK itself — that
belongs in upstream DPDK documentation reachable via
doca-public-knowledge-map.
What this skill deliberately does not ship
This skill is agent guidance, not a samples or templates bundle. To keep the boundary clean, it deliberately does not contain — and pull requests should not add:
- Pre-written DOCA DPDK Bridge application source code, in any
language. The verified bridge source code is the bridge
usage inside the shipped C DOCA Flow samples at
/opt/mellanox/doca/samples/doca_flow/(e.g.flow_common.c, which callsdoca_dpdk_port_probe()/doca_dpdk_port_as_dev()), plus the canonical reference applications that pair DPDK + DOCA Flow (seedoca-public-knowledge-mapfor the reference-applications index). The agent's job is to route the user to those files and prescribe a minimum-diff modification on them via the universal modify-a-sample workflow indoca-programming-guide, layered with the bridge-specific overrides inTASKS.md ## modify. - Standalone build manifests (
meson.build,CMakeLists.txt,Cargo.toml, …) parked inside the skill. The agent constructs the build manifest in the user's project directory against the user's installed DOCA + DPDK, wherepkg-config --modversion doca-dpdk-bridgeandpkg-config --modversion libdpdkare the source of truth. - A
samples/,bindings/, orreference/subtree of any kind. A mock or incomplete artifact in this skill's tree, even one labeled "reference", is misleading: users will read it as buildable.
Loading order
- Read this
SKILL.mdfirst to confirm the user's question is in scope (existing DPDK app + wants DOCA on top — not fresh). - **For the bridge capability matrix, the bridge-vs-native selection rule, port-handover surface, capability-query rules, error taxonomy, observability, and safety policy,
Truncated for display — read the full file on GitHub.
Related Skills
siyuan
46.5kAn open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作
algorithmic-art
177.9kCreating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code, generative art, algorithmic art, flow fields, or particle systems.
pptx
177.9kUse this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or presentations; reading, parsing, or extracting text from any .pptx or .potx file (even if the extracted content will be used elsewhere, like in an em…
design
130.2kComprehensive design skill: brand identity, design tokens, UI styling, logo generation (55 styles, Gemini, Atlas Cloud, or MuAPI AI), corporate identity program (50 deliverables, CIP mockups), HTML presentations (Chart.js), banner design (22 styles, social/ads/web/print), icon design (15 styles, SVG…
Languages
Trust signals
From repository metadata: license, adoption, age and documentation. Not a code audit — see the Safety scan above for what the skill file itself contains.
