What problem does it solve?
Programming hardware packet steering with the DOCA Flow API is error-prone: agents invent nonexistent API names, misconfigure port bring-up, and silently fall back to kernel tc/iptables instead of libdoca_flow. This Skill grounds every step in the installed DOCA headers and shipped samples so pipes, ports, and counters actually program the hardware.
Core Features & Use Cases
- Port and pipe bring-up: Step-by-step workflows for configuring Flow ports and representors, creating match/action pipes, and programming entries, with the DPDK-to-DOCA device mapping gate that causes most runtime failures.
- API verification and error diagnosis: Verifies every doca_flow_* symbol against installed headers, maps DOCA_ERROR_* codes to their layer, and guards against commonly invented function names.
- Observability and connection tracking: Covers per-entry and per-pipe counters, shared resources (encap, meter, counter, RSS), and the flow-ct module for hardware-accelerated 5-tuple connection tracking and NAT.
- Use Case: A developer asks how to steer a 5-tuple flow to a specific queue on a BlueField DPU; the Skill walks through capability discovery, port start, pipe creation, entry commit, and counter readback using the shipped flow samples.
Quick Start
Ask your agent to bring up a DOCA Flow port on your NIC and create a pipe that matches IPv4 traffic and forwards it to a representor with per-entry counters.