NetXtreme-UG100
55
NetXtreme-C/NetXtreme-E
User Guide
16.3 Testpmd Runtime Functions
When the testpmd application is started in interactive mode, (-i|--interactive), it displays a prompt that can be used to start
and stop forwarding, configure the application, display statistics (including the extended NIC statistics aka xstats), set the
Flow Director, and other tasks.
testpmd>
16.4 Control Functions
This section contains the control functions.
start
Starts packet forwarding with current configuration:
testpmd> start
start tx_first
Starts packet forwarding with current configuration after sending specified number of bursts of packets:
testpmd> start tx_first (""|burst_num)
The default burst number is 1 when burst_num not presented.
stop
Stops packet forwarding and display accumulated statistics:
testpmd> stop
quit
Quits to prompt:
testpmd> quit
16.5 Display Functions
The functions in ths section are used to display information about the testpmd configuration or the NIC status.
show port – Displays information for a given port or all ports.
show port rss reta – Displays the RSS redirection table entry indicated by masks on port X.
show port rss-hash – Displays the RSS hash functions and RSS hash key of a port.
show (rxq|txq) – Displays information for a given port's RX/TX queue.
show config – Displays the configuration of the application. The configuration comes from the command-line.
set fwd – Sets the packet forwarding mode.
read rxd – Displays an RX descriptor for a port RX queue.
read txd – Displays a TX descriptor for a port TX queue.