doca-flow

Installation
SKILL.md

DOCA Flow

Host checks. Commands here that inspect the user's DOCA host (listing or reading /opt/mellanox/doca, release files such as /etc/mlnx-release or /etc/nvidia/bf-release, /dev/mst) or reach the BlueField (RShim, SSH, BMC) are for that host. Run them yourself only if the user confirms you are on it; otherwise answer from this skill, give the commands for the user to run, and treat values you can't see as unknown.

Examples

  • “How do I bring up a Flow port on a representor?” — this is in scope. Use the installed header and a shipped sample; do not author a first-app main.c.
  • “Match 5-tuple and send to a queue.” — express it as a Flow pipe. Do not fall back to kernel tc or iptables.
  • "Write my first DOCA Flow app." Start from a shipped sample, not authored code: ls /opt/mellanox/doca/samples/doca_flow/, copy the closest one, build it, then make the minimum change. The NGC container builds and links it, but pipe creation needs a real BlueField or ConnectX at runtime.

Instructions

Installs
153
Repository
nvidia/skills
GitHub Stars
4.3K
First Seen
Jul 18, 2026