On 19/02/2024 20.01, Toke Høiland-Jørgensen wrote:
may be simpler to use pktgen, and at 10G rates that shouldn't become a
bottleneck either. The pktgen_sample03_burst_single_flow.sh script in
samples/pktgen in the kernel source tree is fine for this usage.
Example of running script:
./pktgen_sample03_burst_single_flow.sh -vi mlx5p1 -d 198.18.1.1 -m
ec:0d:9a:db:11:c4 -t 12
Notice the last parameter, which is number threads to start.
If you have a ixgbe NIC driver, then I recommend -t 2 even if you have
more CPUs.
--Jesper