Base test for l2fwd application
Test l2fwd performance
Create l2fwd job
Create testpmd job to run traffic generator on TST
Start peer l2fwd and wait for its ports to start
Start reporting testpmd
Retrieve link speed from reporting testpmd
Initialize Tx and Rx statistics
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 |