Intel® Ethernet Controller E810 Data Plane Development Kit (DPDK) 22.11/23.03

Configuration Guide

ID 764257
Date 06/16/2023
Version 22.11
Document Table of Contents

Testpmd Runtime Functions

When testpmd is started in interactive mode using the -i or --interactive option, a prompt is displayed that allows for real time configuration, statistic read-outs, and the ability to start/stop packet forwarding. Many of the testpmd command-line options can also be accessed as runtime functions.

An extensive number of testpmd runtime functions are available that are broken into multiple categories. See dpdk.org for a complete list:

https://doc.dpdk.org/guides/testpmd_app_ug/testpmd_funcs.html

To help with getting started, here are some examples of common runtime functions:

  • set verbose (level): Set the debug verbosity level.
  • set fwd (io|mac|macswap|flowgen|rxonly|txonly|csum|icmpecho|noisy|5tswap|shared-rxq) (""|retry): Set the packet forwarding mode.
  • show port (info|summary|stats|xstats|fdir|dcb_​tc|cap) (port_​id|all): Display information for a given port or all ports.
  • show fwd stats all: View statistics for all ports that were collected beginning from the time the forwarding engine was started.
  • start: Start packet forwarding with current configuration.
  • stop: Stop packet forwarding and display accumulated statistics.