Dev & Engineering ✓ NVIDIA · Official docabluefield-dpudevice-emulationpcievirtiodmapci-generic

DOCA Device Emulation Development

Guides developers in building custom PCIe devices on BlueField whose backend runs on the DPU and is visible to the host.

FollowSkills review · FSRS-2.0
Not recommended
48/ 100 5-point scale 2.4 / 5
Trust16 / 25 · 3.2/5

The documentation makes host/DPU data flows, firmware enablement, DPU privileges, and reverse-order teardown visible; however, it commonly requires sudo and lacks explicit stepwise user confirmation, least-privilege alternatives, a concrete rollback procedure, and detailed sensitive-data handling, so points are deducted.

Reliability6 / 20 · 1.5/5

Layered loading, capability checks, error taxonomy, and two-sided observability are useful; however, SKILL.md says it covers three libraries while CAPABILITIES.md introduces virtio-blk and NVMe, and sample coverage, pkg-config modules, and API details are inconsistent or delegated externally. No reproducible key-path tests are supplied, so the static score remains limited.

Adaptability10 / 15 · 3.3/5

The audience, trigger phrases, exclusions, and library-versus-service routing are clearly described; however, Chinese-language support and mainland-China network reachability are not addressed, while core use depends on a local DOCA installation, hardware firmware, and other unavailable skills. Environment-fit evidence is therefore incomplete.

Convention8 / 15 · 2.7/5

The loader, capability reference, task workflows, and details file provide useful progressive disclosure, dependency notes, maintenance contacts, and related-skill routing; however, version fields remain TBD, SKILLCARD repository/license/signature metadata conflicts with the supplied source, and there is no clear changelog or stable versioning policy, so points are deducted.

Effectiveness5 / 15 · 1.7/5

The material gives detailed configuration, build, run, test, and debug workflows with useful boundaries; however, it explicitly supplies no runnable code or standalone build manifest, exact module names and key API details require external lookup, and representative outputs are not verified. Substantial user completion work remains.

Verifiability3 / 10 · 1.5/5

The files contain workflow checklists, an evaluation summary, and some audit-oriented metadata; however, the evaluation dataset is unavailable, the benchmark results are not independently reproducible, SKILLCARD signing and scan fields are TBD, and no committed CI/test suite covering the skill's key paths is provided. Evidence is therefore limited.

Evidence confidence:Low Reviewed Jul 20, 2026 Reviewed revision 55f18499943e
The upstream repository has new commits since this review. The score still applies to the reviewed revision shown and may not cover the latest changes.
Before you use it
  • The supported-library scope is internally inconsistent: SKILL.md primarily declares three classes, while CAPABILITIES.md mentions five; defer to installed headers, pkg-config, and runtime capability queries.
  • Do not treat the BENCHMARK PASS or SKILLCARD signature fields as independently verified test evidence; the supplied files show incomplete evaluation, signing, and scan data.
  • Execution involves PCIe-level emulation, sudo, and firmware configuration; obtain confirmation, verify the exact BlueField, firmware state, and host driver, and prepare reversible detach, stop, and destroy steps.
  • No Chinese-language material or mainland-China reachability guarantee is provided, and key content depends on a local DOCA installation and routed companion skills.
See the full review method →

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

This skill is for external developers consuming the DOCA Device Emulation library from BlueField-side applications. It covers the PCI Generic, virtio-net, and virtio-fs sub-libraries and makes sub-library selection the first decision. It guides configure, build, modify, run, test, and debug workflows, including Core contexts, doorbells, DMA primitives, capability queries, and DOCA_ERROR_* diagnosis. It excludes DOCA installation, host kernel drivers, standard BlueField NIC behavior, and packaged SNAP or Virtio-net services.

Directs the agent to select PCI Generic, virtio-net, or virtio-fs; inspect libraries, headers, samples, and pkg-config modules under /opt/mellanox/doca; initialize the relevant DOCA Core context; configure doorbell and DMA primitives; query doca_devemu_*_cap_* capability families; and follow configure, build, modify, run, test, and debug workflows. It also routes DOCA setup, standard NIC, host-driver, and packaged-service questions to the named related skills.

  1. A DPU developer needs the host to enumerate a custom PCIe peripheral backed by DPU-side code.
  2. A developer is implementing an emulated virtio network or filesystem device for an existing host driver.
  3. A developer must choose between the PCI Generic, virtio-net, and virtio-fs Device Emulation sub-libraries.
  4. A developer is diagnosing missing lspci enumeration, driver binding failures, absent DPU responses to host queue kicks, or failed virtio feature negotiation.
  5. A developer is designing Rust, Go, or Python bindings over the DOCA Device Emulation C ABI.

What are this skill's strengths and limitations?

Pros
  • Covers PCI Generic, virtio-net, and virtio-fs Device Emulation sub-libraries.
  • Addresses capability discovery, doorbell/DMA primitives, permissions, and DOCA_ERROR_* categories.
  • Clearly separates library development from packaged DOCA SNAP and Virtio-net Service solutions.
  • Supports C and C++ directly and gives language-neutral guidance for other languages using FFI or bindings to the public C ABI.
Limitations
  • Requires the DOCA SDK on both host and DPU at /opt/mellanox/doca.
  • Depends on firmware enablement, a matching host kernel driver, and appropriate DPU-side privileges.
  • SKILL.md is a thin loader whose detailed guidance depends on companion files; their full contents are not included in the supplied material.
  • Does not cover DOCA installation, firmware configuration, host-driver installation, backend-body design, or standard NIC behavior.

How do you install this skill?

Install the named skill with the skills CLI command documented in the repository README: npx skills add nvidia/skills --skill doca-devemu --yes. Add --agent codex to target Codex. The supplied source does not specify a manual-copy destination. The DOCA SDK must also already be installed at /opt/mellanox/doca on both the host and BlueField DPU.

How do you use this skill?

Give the agent a concrete DPU-side emulation request, for example: “Build a virtio-net emulated device on BlueField whose backend runs on the DPU, and first determine which DOCA Device Emulation sub-library applies.” For configure, build, modify, run, test, or debug work, the skill points to TASKS.md; for capability questions, it points to CAPABILITIES.md.

How does this skill compare with similar options?

The source explicitly distinguishes writing a backend with the doca-devemu library from adopting DOCA SNAP Service or DOCA Virtio-net Service, which are packaged services built on top of the library.

FAQ

Is this suitable for someone who only wants to run an existing emulation service?
No. It targets developers writing the DPU-side backend. Users seeking a managed solution should use the DOCA SNAP Service or DOCA Virtio-net Service guides.
What must be available before using the skill?
The DOCA SDK must be installed at /opt/mellanox/doca on both host and DPU; firmware must enable the desired emulation type; the host must provide the matching driver; and the DPU process must have the required privileges.
Does it troubleshoot the host virtio kernel driver itself?
No. Host-side virtio-net, virtio-fs, and related drivers are outside this skill’s scope. The skill focuses on the DPU-side Device Emulation library and the emulated PCIe interaction.
What licensing information is provided?
The SKILL.md frontmatter specifies Apache-2.0. The repository README states that the project is dual-licensed under Apache License 2.0 and CC BY 4.0, while the supplied repository metadata says NOASSERTION.

More skills from this repository

All from NVIDIA/skills

Dev & Engineering ✓ NVIDIA · Official

DOCA AES-GCM Acceleration

Configure, validate, and debug DOCA AES-GCM offload on BlueField DPUs and ConnectX NICs.

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 Arg Parser CLI

Guides developers in building and debugging standard CLIs for DOCA applications.

Dev & Engineering ✓ NVIDIA · Official

DOCA Erasure Coding Development Skill

Guides hands-on DOCA Reed-Solomon resilience development and debugging on NVIDIA hardware.

Automation & Ops ✓ NVIDIA · Official

DOCA Socket Relay

Bridge an existing socket application to a BlueField DPU without rewriting it

Dev & Engineering ✓ NVIDIA · Official

DOCA Common Foundation

A shared programming foundation for DOCA applications on BlueField and ConnectX.

Dev & Engineering ✓ NVIDIA · Official

DOCA DMA Development Guide

Guides hands-on DOCA DMA memory-copy development on BlueField and ConnectX systems.

Dev & Engineering ✓ NVIDIA · Official

DOCA Compress Hardware Offload

Guides hands-on DEFLATE and LZ4 decompression development and debugging on BlueField and ConnectX platforms.

Automation & Ops ✓ NVIDIA · Official

DOCA Hardware Safety

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

Dev & Engineering ✓ NVIDIA · Official

DOCA RDMA Initiator

Guides accelerator-initiated one-sided RDMA development on the DPA datapath.

Dev & Engineering ✓ NVIDIA · Official

DOCA Environment Setup

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

Automation & Ops ✓ NVIDIA · Official

DOCA BlueField-3 Bring-Up

Guides operators through BF3 day-one bring-up, recovery, RShim/BFB provisioning, and installation validation.

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 Ethernet Queue Development

Develop and debug DOCA Ethernet RX/TX queues on BlueField DPUs and ConnectX NICs.

Dev & Engineering ✓ NVIDIA · Official

DOCA Flow Tune

Guides engineers through snapshotting, analyzing, and optimizing live or captured DOCA Flow pipelines.

Dev & Engineering ✓ NVIDIA · Official

DOCA GPI GPU-Initiated RDMA Skill

Helps CUDA kernels drive RDMA queues directly from GPU memory without host-CPU mediation.

Dev & Engineering ✓ NVIDIA · Official

DOCA UROM Host-Side Offload Development

Guides HPC, UCX, and MPI developers in offloading remote memory operations to a BlueField DPU.

Dev & Engineering ✓ NVIDIA · Official

DOCA PCC Custom Congestion Control

Guides host-side loading and troubleshooting of custom PCC algorithms on BlueField

Dev & Engineering ✓ NVIDIA · Official

DOCA Rivermax Receive Development

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

Related skills