Base test for l2fwd application

Test l2fwd performance

  1. Create l2fwd job

  2. Create testpmd job to run traffic generator on TST

  3. Start peer l2fwd and wait for its ports to start

  4. Start reporting testpmd

  5. Retrieve link speed from reporting testpmd

  6. Initialize Tx and Rx statistics

  7. Retrieve stats from running l2fwd

Georgiy Levashov Georgiy.Levashov@oktetlabs.ru

Parameters:

generator_mode

Forwarding mode of testpmd generating traffic on TST

testpmd_arg_txd

Number of Tx ring descriptors of the traffic generator on TST

testpmd_arg_burst

Number of packets per burst of the traffic generator on TST

testpmd_arg_txfreet

Free threshold of Tx rings of the traffic generator on TST

n_l2fwd_fwd_cores

Number of CPU cores for l2fwd on IUT

packet_size

Size of packets generated on TST