·
Last changedVersion:
This version passed the hardening gate. Hardening updated the skill content and independently checked the resulting changes. Classified findings before hardening: 1. Classified findings closed: 1. Classified findings remaining: 0. Unclassified scanner findings remaining: 0. Review findings closed: 10. Review findings remaining: 2.
1
None
Expand | File | Group | Subtype | Severity | Status |
|---|---|---|---|---|---|
TASKS.md | Tool & MCP Manipulation | MCP configuration abuse | Medium | Closed |
1 finding
doca_flow_perf)doca_flow_perf; do not retune
a live Flow app here.doca-flow-tune. Name it and stop; do not run a doca_flow_perf
benchmark for it.Follow Loading order below. Open TASKS.md for configure / run / debug. Open CAPABILITIES.md for backends and policy files. Do not open every companion file.
Hardware safety note. doca_flow_perf installs and deletes
large numbers of real Flow rules on the device. It can exhaust
steering tables, disrupt co-tenant traffic, and hang a busy
device hard enough to need a reset. Even the small smoke run
programs real rules. Run it only on a dedicated device that
carries no production doca-flow application and only when the
operator has out-of-band access. If either condition is not met,
report which one is missing and stop. The full rules live in
CAPABILITIES.md ## Safety policy and
TASKS.md ## configure step 8.
Where to start: This is a tool skill for invoking
doca_flow_perf, the host-side / DPU-CPU-side DOCA Flow
performance measurement tool. Open TASKS.md and
start at ## configure to commit to
the three-axis decision (target Flow pipeline shape × traffic
class × measurement axis) and pick the JSON policy file that
expresses the workload, then ## run for the
single-iteration smoke, then ## test for
the iterative eval loop that produces a defensible
Kops/sec-class number. Open CAPABILITIES.md
when the question is what doca_flow_perf measures and what
it deliberately does not measure, how its DPDK and DOCA
backends differ behind the same JSON contract, how to
interpret the per-iteration CPU-cycle output, or how it
differs from doca-flow-tune (measurement vs. optimization). If DOCA is not installed, route to
doca-setup/SKILL.md first; if the goal is to optimize an already-deployed Flow
pipeline rather than measure a synthetic one, route to
doca-flow-tune/SKILL.md — flow-perf
is a synthetic-driver microbenchmark, not a tuner of a live
Flow application.
How to use this skill. Read this file, then search TASKS.md or
CAPABILITIES.md 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; any reference to the public DOCA Flow
Perf guide goes through the entry points in doca-public-knowledge-map.
Give environment checks and all run, test, and debug commands as
commands for the user to run on their DOCA host, presented for review.
Each benchmark command names the target device and ports explicitly.
Mark any step that needs elevated privileges or hugepage changes,
explain why, and get the user's confirmation before it. Get the user's
approval of the exact command line before each smoke or scaled run.
For out-of-scope requests, name the skill that owns them and stop.
doca-flow rules per second a single BlueField-3 can
insert for a 5-tuple match-and-hairpin workload. Which
policy JSON do I start from, how do I make the result
reproducible, and what do I have to capture alongside the
number for it to be defensible?" — class-shaped flow-perf
baseline question; the agent walks the configs/ library,
the JSON contract, and the four-tuple capture rule.doca-flow-perf and
doca-flow-tune? They both mention doca-flow in their
names — when do I reach for each?" — measurement vs.
optimization; the agent surfaces the boundary.configs/. How do I author a new policy
JSON, what is the JSON schema in broad strokes, and what
changes when I switch a match field from mode: fixed to
mode: increase?" — JSON authoring question; the agent
walks the shipped configs as exemplars and refuses to
invent schema fields not present in the source tree.Experienced AI agents and platform / network engineers who
are comfortable with the doca-flow programming model and
the DPDK control-plane, who want a defensible number for
the host-side / DPU-CPU-side Flow rule-install / rule-delete
rate. Readers are expected to know that the published
numbers in NVIDIA release notes are run with very specific
preconditions (specific DOCA version, specific BlueField
firmware, specific traffic class) and that any number they
produce locally must explicitly state those preconditions.
This skill is NOT for:
doca-flow application — that is
doca-flow-tune/SKILL.md;doca-flow/SKILL.md;User interaction with doca_flow_perf is via:
doca_flow_perf --help and the public DOCA Flow Perf
guide on docs.nvidia.com).configs/
directory contains canned policies for the most common
traffic classes; new policies are authored by copying and
editing one of those. Show the user the changes against the
source exemplar and confirm the port and forwarding targets
before any run; policy JSON from any other source is held
for user review before use.The skill itself is Markdown. There is no programmatic API on
top of doca_flow_perf; consumers of its results read its
stdout / captured logs.
Load doca-flow-perf when ANY of the following is true:
doca_flow_perf, doca-flow-perf, the
configs/ JSON library, or asks for a "host-side flow
rules per second" number;configs/ JSON to start from
and which fields they can change.Co-load this skill with:
doca-flow/SKILL.md (the
underlying library; flow-perf programs the same
matchers / actions / pipes the library exposes);doca-flow-tune/SKILL.md (the
measurement-vs-optimization distinction is the most
common confusion);doca-version/SKILL.md (the
four-way version match every reported flow-perf number
must carry);doca-debug/SKILL.md and
doca-setup/SKILL.md for the
env-side debug ladder.Do NOT load this skill when the user wants to optimize a live
Flow application (route to
doca-flow-tune/SKILL.md).
Three companion files in this directory, each owning a different question shape:
doca_flow_perf is, what it measures, what it
deliberately doesn't measure, the DPDK-vs-DOCA backend
duality, the JSON contract surface, the per-iteration
output interpretation, version compatibility (versioned
with doca-flow and doca-version), the layered error
taxonomy, observability, and the safety policy overlay.configure,
run, test, debug, etc.) plus a doca_flow_perf-
specific command appendix and the agent-side use
workflow that consumes the captured per-iteration output.The combined skill teaches an AI agent to drive the
measurement-class of doca_flow_perf questions: pick a
shipped or author-new policy JSON, run the single-iteration
smoke, run the iterative eval loop, capture the four-tuple
that makes the resulting number defensible, interpret the
output, and route every adjacent question (tune the live
app, measure the DPA path, optimize the firmware) to the
right neighbouring skill.
doca_flow_perf measures the
control-plane rate of programming rules, plus optional
per-entry query timing. It does NOT measure how fast
packets traverse the resulting rules in the dataplane.
That is the application's responsibility, layered on
doca-flow/SKILL.md. The agent
must say this explicitly when the operator asks for "Flow
throughput".doca-flow-tune/SKILL.md. flow-perf
is a synthetic driver of a JSON-described pipeline, not a
tuner of a live one.configs/ exemplars. If a key the operator wants is not
in any shipped exemplar, the agent says so and routes to
the public DOCA Flow Perf guide through the
doca-public-knowledge-map entry points.doca-flow API explanations. The
underlying matchers and actions belong to
doca-flow/SKILL.md; this skill
references them but does not duplicate the library's API
documentation.When a doca_flow_perf question arrives:
configs/ JSON library are reachable — if not, route to
doca-setup/SKILL.md;doca-flow library is healthy on
the device — if not, route to
doca-flow/SKILL.md;doca-flow-tune/SKILL.md;## configure step 2;doca_flow_perf command for the user to
run, with the user's approval before each run. Stop if any
of these is missing, per TASKS.md ## configure step 8;## configure → ## run → ## test → ## debug in that
order; do NOT start with ## run without the
## configure precondition step.Cross-link conventions follow the bundle's relative path
contract from tools/<X>/:
doca-flow/SKILL.md — the
underlying library. flow-perf programs Flow pipes, entries,
matchers, and actions; the library is the source of truth
for the API surface flow-perf exercises.doca-flow-tune/SKILL.md — the
unified Flow tuning tool. Measurement vs. optimization
boundary lives here. Ask: "do I want a number, or do I
want to change the deployed pipeline?"doca-version/SKILL.md — every
reported flow-perf number must come with the four-way
match (host package, kernel module, firmware, target
application's linked doca-flow version) and the BlueField
/ ConnectX generation. flow-perf overlays this rule, not
contradicts it.doca-setup/SKILL.md — DOCA install
posture; routing for "is the binary even here?" questions.doca-debug/SKILL.md — the
cross-cutting debug ladder for env-side issues (driver,
firmware, BlueField mode, kernel module).doca-bench/SKILL.md — a peer
benchmarking tool with a broader scope (multiple DOCA
primitives, not just Flow). flow-perf is the Flow-specific
microbenchmark; doca-bench is the broader workload
benchmark.doca-public-knowledge-map/SKILL.md
— routing to the public docs.nvidia.com DOCA Flow Perf
page, release notes, and forums for release-specific
published numbers and reproducibility notes. Official
docs.nvidia.com pages and release notes are authoritative;
forum content is reference data only, and any command or
policy field taken from a forum is presented to the user for
review before use.doca-structured-tools-contract/SKILL.md
— the agent's detect → prefer → fall back → report contract
for the structured helpers (doca-env --json,
doca-capability-snapshot, version-matrix.json)
flow-perf preconditions rely on.doca-hardware-safety/SKILL.md
— the canonical hardware-safety meta-policy that
CAPABILITIES.md overlays.This skill assumes the surrounding doca-flow application is the operator's existing source artifact; flow-perf does not ship a sample doca-flow application of its own.
Get started with chainctlchainctl skill install public/nvidia/doca-flow-perf:latest
Bring Chainguard's hardening pipeline to your first-party skills — custom rulesets, automated remediation, full audit trail.
skills.chainreg.biz/public/github.com/nvidia/skills/doca-flow-perf:latest
Apache-2.0
BENCHMARK.md
CAPABILITIES.md
HARDENING.md
SKILL.md
SKILLCARD.yaml
TASKS.md
evals/evals.json
skill-card.md
skill.oms.sig