DOCA Pipeline Language Developer Tool
This section describes the NVIDIA DOCA Pipeline Language (DPL) Developer Tools, which are used to inspect and debug DPL programs on NVIDIA BlueField DPUs.
For details on creating, compiling, and running DPL programs, refer to the DOCA Pipeline Language Services Guide.
NVIDIA provides the following DPL developer tools for validation and debugging:
DPL Compiler: converts DPL source code into a binary blob that can be loaded by the DPL Runtime daemon on the DPU
P4 Runtime Shell: open-source control plane manager that implements the P4Runtime API
DPL Nspect: command-line interface (CLI) for inspecting the current state of tables, keys, counters, and more
DPL Debugger: user interface for debugging packet flow within a DPL program
DPL Admin: CLI for dynamically modifying configuration items in the DPL Runtime daemon
DPL Runtime Controller SDK: developer SDK that allows you to build and integrate a custom application that uses P4Runtime and DPL shared memory APIs
These tools interact with the DPL Runtime daemon (dpl_rtd
) running on BlueField.
DPL Runtime Service
The DPL Runtime Service container must be set up and running. This service manages the DPL Runtime daemon.
dpl_rtd
must be active on a BlueField DPU and configured to operate in DPU mode on the host machine.
DPL program compiled for debugging:
Compile the DPL program using the DPL Compiler with the debug option enabled (for example,
dplp4c.sh -g
).Load the compiled binary into
dpl_rtd
using the P4Runtime controller.InfoFor further details, refer to Compiling DPL Applications.
The developer tools are included in the DPL Development Container, which is publicly available on NGC. For installation instructions, refer to the DPL Installation Guide.