Test dpdk-testpmd performance in loopback mode
Test dpdk-testpmd performance in loopback mode
Create testpmd job
Start the job
If
dbells_supp:Attach doorbells filters
Retrieve link speed from running testpmd
Initialize Tx and Rx statistics
Retrieve Tx stats from running testpmd
Check and log measurement results
Igor Romanov Igor.Romanov@oktetlabs.ru
Parameters:
testpmd_command_txpkts |
Comma-separated list of segment lengths of transmitted packets, set by testpmd command |
n_fwd_cores |
Number of CPU cores for testpmd on IUT |
testpmd_command_loopback_mode |
Driver-specific loopback mode, set by testpmd command |
testpmd_arg_forward_mode |
Forwarding mode of testpmd on IUT (testpmd option |
testpmd_arg_tx_first |
Whether to start forwarding by sending a burst of packets first (testpmd option |
testpmd_arg_stats_period |
Period in seconds of testpmd statistics display (testpmd option |
testpmd_arg_no_lsc_interrupt |
Whether to disable link status change interrupt (testpmd option |
testpmd_arg_txd |
Number of Tx ring descriptors (testpmd option |
testpmd_arg_burst |
Number of packets per burst (testpmd option |
testpmd_arg_rxfreet |
Free threshold of Rx rings, |
testpmd_arg_txfreet |
Free threshold of Tx rings, |