·
Last changedVersion:
This version passed the hardening gate. Hardening applied 24 targeted changes and preserved all other text. Classified findings before hardening: 0. Classified findings closed: 0. Classified findings remaining: 0. Unclassified scanner findings remaining: 0. Review findings closed: 7. Review findings remaining: 1.
None
None
Expand | File | Group | Subtype | Severity | Status |
|---|
No findings available
0 findings
Follow Loading order below. Open TASKS.md for configure / tune / debug, and CAPABILITIES.md for variants and the FAIL status. Open only the companion sections the question needs, with one standing rule: before any modify, build, run or use step, always read the Safety policy section of this file and the Safety policy section of CAPABILITIES.md.
Where to start: This skill assumes DOCA + DPACC are
installed, the BlueField is a BlueField-3-generation device
with its DPA visible to the host, the firmware custom-PCC
slot is enabled, and the user is doing hands-on deployment
of the DOCA-shipped ZTR RTTCC reference algorithm on a port
already carrying RoCE-v2 traffic — deploying it as the
no-config baseline, tuning its parameters, or evaluating it
against a custom algorithm. Open TASKS.md to do
something (install / configure / build / modify / run / test /
debug / use); open CAPABILITIES.md for what the
algorithm expresses, its variants and parameters, what it
ships vs not. If DOCA is not installed, route to
doca-setup/SKILL.md (if that skill is available) first; if the
host-side doca-pcc framework is not up yet, route to
doca-pcc/SKILL.md first (this algorithm is a
library consumed by the PCC framework); for read-only
counter inspection, route to
doca-pcc-counters/SKILL.md;
for writing an algorithm from scratch, that is doca-pcc
plus the public PCC guide — this skill is for the shipped
reference algorithm specifically.
The CLASSES of ZTR RTTCC questions this skill answers, each with one worked example. The class is the load-bearing piece; the worked example is one instance.
/opt/mellanox/doca/applications/pcc
is already building from sample sources; what do I
change so the user algo callback dispatches to
doca_pcc_dev_ztr_rttcc_algo under a chosen algo
slot?". Answered by the integration sequence in
CAPABILITIES.md ## Capabilities and modes
doca_pcc_dev_ztr_rttcc_algo but the device-
side source ships several variants; how do I know
which one I get and how do I pick another?".
Answered by the variants table in
CAPABILITIES.md ## Capabilities and modes.doca-pcc-counters/SKILL.md.doca_pcc_dev_set_ztr_rttcc_params workflow in
TASKS.md ## use.DOCA_PCC_DEV_STATUS_FAIL or
DOCA_ERROR_* from a doca_pcc_dev_ztr_rttcc_* call
mean and which layer caused it?" — worked example:
"my init callback returns DOCA_PCC_DEV_STATUS_FAIL
on first launch". Answered by the algorithm overlay
on the host-side PCC taxonomy in
CAPABILITIES.md ## Error taxonomy
doca-pcc/SKILL.md and
doca-debug/SKILL.md.This skill serves external developers operating a
BlueField-3-class DPU who want to deploy NVIDIA's shipped
reference PCC algorithm on RoCE-v2 traffic, OR who are
evaluating it against a custom algorithm they intend to
write. The algorithm is zero-touch by design — the
no-config-required baseline. It is not for NVIDIA
developers contributing to the algorithm itself, nor for
general PCC programming theory (route via the public DOCA
PCC guide), nor for users who only want to inspect PCC
counters (route to
doca-pcc-counters/SKILL.md).
Language scope. The algorithm ships as a DPA-side
library (pkg-config module doca-pcc-ztr-rttcc-algo)
plus the public header doca_pcc_dev_ztr_rttcc_algo.h.
The shipped binary is the static library
libdoca_pcc_ztr_rttcc_algo_dev.a per the README; the
device-side translation unit that consumes it is C
compiled by DPACC. The host-side that drives the PCC
context comes from doca-pcc/SKILL.md;
this library adds no host-side surface beyond the helpers
(libdoca_pcc_ztr_rttcc_algo.{a,so}) doca-pcc links.
Other-language host-side wrappers around doca-pcc drive
this algorithm through the same lifecycle; the DPA-side
integration always stays C-via-DPACC.
Load this skill when the user is doing hands-on deployment, tuning, or evaluation of the DOCA-shipped ZTR RTTCC reference algorithm on a BlueField port carrying RoCE-v2 traffic. Concretely:
doca_pcc_dev_ztr_rttcc_algo);
the variants live in the DPA-side source the user compiles.doca_pcc_dev_ztr_rttcc_algo.h and
doca_pcc_dev_set_ztr_rttcc_params.doca-pcc-counters/SKILL.md
for read-only inspection).Do not load this skill for general DOCA orientation; for
the host-side doca-pcc lifecycle or for writing a custom
algorithm from scratch (route to
doca-pcc/SKILL.md plus the public PCC guide
via
doca-public-knowledge-map/SKILL.md);
for read-only PCC counter inspection (route to
doca-pcc-counters/SKILL.md);
or for the factory firmware PCC algorithms that predate
Programmable Congestion Control (firmware-only path, routed
via
doca-public-knowledge-map/SKILL.md).
This is a thin loader. The body keeps only the orientation needed to pick the right next file. The substantive algorithm-specific material lives in two companion files:
doca_pcc_dev_ztr_rttcc_init,
doca_pcc_dev_ztr_rttcc_algo,
doca_pcc_dev_set_ztr_rttcc_params,
doca_pcc_dev_ztr_rttcc_get_param_num,
doca_pcc_dev_ztr_rttcc_get_counter_num,
doca_pcc_dev_ztr_rttcc_get_num_of_histograms), the
documented variants (vanilla / path-migration / RX-rate
/ multipath / window-probeless — pick one at
DPA-side compile time), the relationship to the
host-side doca-pcc framework (this is an algorithm
body the framework loads), the relationship to the
doca-pcc-counters tool (which is the canonical
inspection surface), the algorithm's parameter and
counter surface (RTT-based congestion signal,
per-feature parameter blocks), the error taxonomy in
DOCA_PCC_DEV_STATUS_OK / _FAIL, and the safety
policy.install, configure, build,
modify, run, test, debug, use. Plus a
Deferred task verbs block that points out-of-scope
questions at the right next skill.The skill assumes DOCA + DPACC + the
doca-pcc/SKILL.md host-side framework are
installed; the BlueField exposes the DPA processor; the
firmware custom-PCC slot is enabled (inherited from
doca-pcc ## Safety policy); and the port the algorithm
modulates actually carries RoCE-v2 traffic — the algorithm
modulates existing traffic; without it there is nothing
to do.
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:
libdoca_pcc_ztr_rttcc_algo_dev.a (plus host-side
helpers) installed by the matching DOCA host package.
The agent routes the user to the installed library and
header (doca_pcc_dev_ztr_rttcc_algo.h) and prescribes
the README-documented in-place edits on the shipped DOCA
PCC application source — it does not author the
algorithm. Before the first edit, back up each original
file and record every change; these edits need write
access to the installed tree, and a DOCA package upgrade
may overwrite them./opt/mellanox/doca/applications/pcc/.
The agent prescribes the README's minimum-diff
modifications and walks the rebuild — it does not
author a parallel application.doca-public-knowledge-map/SKILL.md;
it does not redefine each variant's math.This summary is drawn from the Safety policy section of CAPABILITIES.md, which stays authoritative; when the two disagree, the stricter rule wins. Read both before any modify, build, run or use step.
doca_pcc_dev_set_ztr_rttcc_params
so the range check runs./opt/mellanox/doca/applications/pcc/, back up the original files and
record each change.doca-pcc
framework relationship, the
doca-pcc-counters inspection-side relationship, the
error taxonomy, the observability surface, and the
safety policy, see CAPABILITIES.md.Both companion files cross-link to each other and to the skills under Related skills below.
Route to the sibling skills below only when they are available in the installed catalog. When one is missing, apply the Safety policy section above and the counter snapshot, load, and diff check in TASKS.md ## test, consult the public DOCA documentation linked here, and stop to ask the user rather than guessing setup or firmware steps.
doca-pcc/SKILL.md — the host-side PCC control
library. This algorithm is loaded INTO a doca_pcc context that
doca-pcc stands up, and owns the host-side lifecycle (create /
configure / start / stop / destroy, the doca_pcc_app image, the
attach-to-port semantics). This skill prescribes only the DPA-side
algorithm integration on top.doca-pcc-counters/SKILL.md —
the read-only CLI for port PCC counters, and the canonical "is
the algorithm actually modulating traffic" check. This skill
names the counters the algorithm emits (CNP / NACK / AI / HAI /
decrement / RTT-band) and routes the inspection there.doca-dpa/SKILL.md — the host-side DPA control
library. The algorithm runs on the DPA, compiled by DPACC; the
two-side-program rule and the DOCA-and-DPACC version-match
overlay apply.doca-public-knowledge-map/SKILL.md
— routing to the public DOCA PCC programming guide
(https://docs.nvidia.com/doca/sdk/doca-pcc/index.html), the PCC
application guide, the Compatibility Policy, and the on-disk
layout of an installed DOCA package.doca-setup/SKILL.md — env preparation,
install and DPACC compiler verification, BlueField firmware
configuration (including the custom-PCC slot enable), and the no
install yet path via the public NGC DOCA container. This skill
assumes those preconditions hold, DPACC matches DOCA, and the
custom-PCC slot is enabled.doca-version/SKILL.md — canonical DOCA
version handling. ## Version compatibility cross-links the
four-way match rule and the DOCA-and-DPACC overlay inherited from
doca-pcc/SKILL.md.doca-structured-tools-contract/SKILL.md
— the detect / prefer / fall back / report precedence rule the
Command appendix in the tasks companion honors.doca-programming-guide/SKILL.md
— general DOCA programming patterns; this skill layers
algorithm-specific overlays on the universal build and
modify-a-shipped-sample workflows.doca-debug/SKILL.md — the cross-cutting
debug ladder. Algorithm-specific debug (loaded but counters
flat; init fails; modulates too aggressively or too gently)
overlays on top.doca-hardware-safety/SKILL.md —
cross-cutting hardware-safety meta-policy. Because the
algorithm modulates production RoCE-v2 flows, its pre-flight,
replica-first, and rollback rules apply via this skill's
## Safety policy overlay.Get started with chainctlchainctl skill install public/nvidia/doca-pcc-ztr-rttcc-algo: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-ztr-rttcc-algo: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