·
Last changedVersion:
This version passed the hardening gate. Hardening updated the skill content and independently checked the resulting changes. Classified findings before hardening: 2. Classified findings closed: 1. Classified findings remaining: 1. Unclassified scanner findings remaining: 0. Review findings closed: 9. Review findings remaining: 1.
2
1
Expand | File | Group | Subtype | Severity | Status |
|---|---|---|---|---|---|
BENCHMARK.md | Privilege Escalation & Host / Cloud Compromise | Privilege escalation | Medium | Open | |
CAPABILITIES.md | Privilege Escalation & Host / Cloud Compromise | Privilege escalation | Medium | Closed |
2 findings
doca_pcc + a DPACC-built
doca_pcc_app; do not rewrite the algorithm body here.doca-setup/SKILL.md once the user or
administrator decides on it.Follow Loading order below. Open TASKS.md for configure / load / debug. Open CAPABILITIES.md for the triple-axis cap query. Do not open every companion file.
Where to start: This skill assumes DOCA is already installed,
the user's BlueField has a DPA processor that the host can see
through DOCA, the BlueField firmware has the custom-PCC slot
enabled, and the user is doing hands-on custom PCC work from
the host side — i.e. using doca-pcc to load a DPA-side
congestion control algorithm onto the BlueField, attach it to a
port handling RDMA / RoCE traffic, and parameterize it from the
host. Open TASKS.md if the user wants to do
something (configure / build / modify / run / test / debug);
open CAPABILITIES.md when the question is
what can the host-side PCC API express on this version + this
BlueField generation + this firmware. If the user has not
installed DOCA yet, route to
doca-setup/SKILL.md first; if the user is
asking how to write the DPA-side congestion-control algorithm
itself (the code that runs on the DPA processor, compiled by
dpacc), that is a different scope — route via
doca-public-knowledge-map/SKILL.md
to the public DOCA PCC programming guide and to
doca-dpa/SKILL.md for the host-side DPA
lifecycle this skill builds on. If the user only wants to
inspect PCC counters at runtime without writing a custom
algorithm, that is the pcc_counters CLI tool — route via
doca-public-knowledge-map ## DOCA tools (doca-public-knowledge-map/SKILL.md#doca-tools);
this skill is for custom algorithms only.
The full policy is in
CAPABILITIES.md ## Safety policy;
the minimum the agent follows even when that file is not open:
doca_pcc_start() changes congestion behavior on real
RDMA / RoCE traffic. Before recommending either on a port, get
explicit user confirmation that the port and workload are an
approved, isolated test scope.doca_pcc_app,
ask the user where it came from, and proceed with an image the
user confirms was built by the matched dpacc from their own
reviewed DPA-side source.doca_pcc_stop, release
the loaded app, doca_pcc_destroy, then close the doca_dev.
The port then reverts to the firmware's default PCC behavior or
to no PCC, depending on the firmware; verify it returned to its
intended baseline.doca-setup/SKILL.md once the user or administrator confirms it.doca_dev access; any elevated step is limited to that single
command and runs after the user confirms it.The CLASSES of PCC 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.
CAPABILITIES.md ## Capabilities and modes
doca_pcc_cap_* against the active
doca_devinfo must agree) in
CAPABILITIES.md ## Capabilities and modes
DOCA_ERROR_NOT_PERMITTED
even though I have doca_dev access?" — worked example:
"the BlueField firmware in this host has the custom-PCC slot
disabled". Answered by the permission matrix in
CAPABILITIES.md ## Safety policy
doca-pcc library the right tool for what I want,
or do I want the default firmware PCC or the
pcc_counters CLI?" — worked example: "I just want to
read PCC counters without touching the algorithm". Answered
by the path-selection rule in
CAPABILITIES.md ## Capabilities and modes
doca-public-knowledge-map ## DOCA tools (doca-public-knowledge-map/SKILL.md#doca-tools)
for the counter tool.doca-version/SKILL.md and adds the
PCC-specific DOCA must match DPACC overlay inherited from
doca-dpa/SKILL.md.DOCA_ERROR_* from a doca_pcc_* call mean
and which layer caused it?" — worked example:
"DOCA_ERROR_DRIVER on the host-side algorithm-load call —
is it DOCA, the firmware-side custom-PCC slot, or the DPACC-
produced image?". Answered by the PCC overlay on the
cross-library taxonomy in the Error taxonomy section of
CAPABILITIES.md
doca-debug/SKILL.md.This skill serves external developers consuming the DOCA PCC
library from the host side — code that calls doca_pcc_* to
stand up the per-port context, load the dpacc-produced
doca_pcc_app image, attach it to the RoCE-bearing BlueField
port, parameterize it, start it, and observe runtime reports.
It is not for NVIDIA developers contributing to DOCA PCC, nor
the place to learn how to write the DPA-side algorithm body
(route via doca-public-knowledge-map/SKILL.md to the public
PCC / DPA / DPACC guides).
Language scope. DOCA PCC ships as a host-side C library
(pkg-config module doca-pcc). The DPA-side algorithm is a
separate translation unit dpacc compiles into the PCC
algorithm image — no FFI escape hatch. A Rust / Go / Python
host-side wrapper driving doca_pcc_* is still useful; the
skill keeps its guidance language-neutral.
Load this skill when the user is doing hands-on DOCA PCC work from the host side for a custom congestion control algorithm. Concretely:
doca_pcc against a doca_dev that maps to
the BlueField port carrying the RDMA / RoCE traffic to be
controlled.dpacc-produced doca_pcc_app algorithm image
into the doca_pcc context.doca_pcc Core
context so it begins affecting RoCE traffic on the port.doca_devinfo supports
via doca_pcc_cap_* — BlueField generations and firmware
revisions differ on permitting a custom PCC algorithm.DOCA_ERROR_* from doca_pcc_* — disambiguating
firmware custom-PCC slot disabled vs device cannot do
custom PCC vs image incompatible vs plain doca_dev
access denied.dpacc-built algorithm image — the env-precondition and
capability rules still apply.Do not load this skill for general DOCA orientation, DOCA /
DPACC install, the DPA-side programming model itself, the
factory PCC algorithm shipped in ConnectX firmware (firmware-
only, no host-side code), or the pcc_counters diagnostic CLI.
For those, route through
doca-public-knowledge-map/SKILL.md
to the matching upstream guide.
This is a thin loader. The body keeps only the orientation needed to pick the right next file. The substantive PCC-specific material lives in two companion files:
doca_pcc context, the loaded doca_pcc_app
algorithm image produced by dpacc, the attach-to-port
semantics that bind the algorithm to the RDMA / RoCE traffic
it will control, the capability-query surface
(doca_pcc_cap_*), the PCC error taxonomy mapped onto the
cross-library DOCA_ERROR_* set, the observability surface
(host-side reports plus the public PCC counter tool reachable
via doca-public-knowledge-map), and the safety policy that
gates env preconditions (DPA-capable BlueField, firmware-level
custom-PCC slot enabled, matched DOCA + DPACC versions,
algorithm image and host-side expectations agree).configure, build, modify, run, test,
debug. Plus a Deferred task verbs block that points
out-of-scope questions at the right next skill.The skill assumes a host where DOCA is already installed at
the standard location, a BlueField with a DPA processor is
physically present and visible to the host, the BlueField
firmware has the custom-PCC slot enabled, the DPACC compiler
is installed at a version matched to the DOCA install per the
DOCA Compatibility Policy, and the user already knows how
(at least at a sketch level) to write the DPA-side PCC
algorithm that dpacc will compile. It does not cover
installing DOCA, installing the DPACC compiler, or flipping
firmware-level configuration — those paths go through
doca-setup/SKILL.md.
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:
/opt/mellanox/doca/samples/doca_pcc/. 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 in
doca-programming-guide/SKILL.md,
layered with the PCC-specific overrides in the modify section
of TASKS.md.meson.build,
CMakeLists.txt, …) parked inside the skill. The agent
constructs the build manifest in the user's project
directory against the user's installed DOCA + DPACC
compiler, where pkg-config --modversion doca-pcc and the
installed dpacc are the two sources of truth.samples/, bindings/, or reference/ 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.pcc_counters tool surface. That CLI is a separate
artifact (the pcc_counters.sh script installed at
/opt/mellanox/doca/tools/pcc_counters.sh) with its own page; routing lives in
doca-public-knowledge-map ## DOCA tools (doca-public-knowledge-map/SKILL.md#doca-tools).
Conflating it with the library is the most common PCC
first-app design error.doca_pcc per-instance context, the loaded doca_pcc_app
algorithm image, the attach-to-port semantics, the
triple-axis precondition rule, the env-precondition policy,
the error taxonomy, the observability surface, and the
safety policy, see CAPABILITIES.md.Both companion files cross-link to each other,
doca-version/SKILL.md for the canonical
DOCA version-handling rules (with the PCC overlay that DOCA
must match the DPACC compiler), and
doca-public-knowledge-map/SKILL.md
whenever the right answer is "look it up in the public DOCA
PCC programming guide, the public DPA / DPACC guides, the
pcc_counters tool guide, or in the on-disk install
layout" rather than "PCC host-side-specific guidance".
doca-public-knowledge-map/SKILL.md —
the routing table for every public DOCA documentation
source and the on-disk layout of an installed DOCA package.
The PCC public guide is at
https://docs.nvidia.com/doca/sdk/DOCA-PCC/index.html; the
pcc_counters diagnostic CLI lives under the DOCA Tools
umbrella as a companion surface rather than a redefined
artifact here.doca-dpa/SKILL.md — the host-side DPA
control library that PCC depends on conceptually: the
custom PCC algorithm is DPA-side code, compiled by the
DPACC compiler, and the host-side doca-pcc Core lifecycle
follows the same shape as the doca-dpa Core lifecycle. The
agent loads doca-dpa alongside this skill when the user
has DPA-level questions (kernel-launch model, DPA-side
libraries) that PCC is layered on top of.doca-rdma/SKILL.md — the library whose
traffic the custom PCC algorithm is controlling. The custom
PCC algorithm affects RDMA / RoCE flows on the attached
BlueField port; if the user has not yet set up RDMA / RoCE
traffic on that port, there is nothing for the algorithm to
act on, and doca-rdma is the skill that brings that
traffic up.doca-setup/SKILL.md — env preparation,
install verification, DPACC compiler install / verification,
BlueField firmware configuration (including the custom-PCC
slot enable, decided by the user or administrator), and the
I have no install yet path with the
public NGC DOCA container. This skill assumes its
preconditions are satisfied AND that DPACC is installed at a
version that matches DOCA AND that the firmware-level
custom-PCC slot is enabled.doca-version/SKILL.md — canonical
DOCA version-handling rules. This skill's
CAPABILITIES.md ## Version compatibility
cross-links the four-way match rule and adds
the PCC-specific DOCA-and-DPACC must match overlay per the
DOCA Compatibility Policy (inherited from
doca-dpa/SKILL.md).doca-structured-tools-contract/SKILL.md —
the bundle's structured-tools precedence rule (detect /
prefer / fall back / report). The Command appendix in
TASKS.md honors this contract.doca-programming-guide/SKILL.md —
general DOCA programming patterns shared by every library:
the canonical pkg-config + meson build pattern, the
universal modify-a-shipped-sample first-app workflow, the
universal Core-context lifecycle, the cross-library
DOCA_ERROR_* taxonomy, and the program-side debug order.
This skill layers PCC specifics on top.doca-debug/SKILL.md — the cross-cutting
debug ladder (install / version / build / link / runtime /
program / driver). PCC-specific debug (custom-PCC slot not
enabled in firmware, DPACC + DOCA version skew, algorithm
image rejected as incompatible with the device, a loaded
algorithm producing no on-wire change because
doca_pcc_start() was never called or the attached port
carries no RoCE traffic) overlays on top of that ladder.Get started with chainctlchainctl skill install public/nvidia/doca-pcc: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-pcc: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