From 9ece0fe0209673d2f3f7f4f3e3738dfa7ec1873b Mon Sep 17 00:00:00 2001 From: Vadim Kochan Date: Wed, 23 Dec 2015 22:31:23 +0200 Subject: trafgen: Add option to specify packets sending rate Added -b,--rate option in units of: pps/B/kB/MB/kBit/Mbit/Gbit/KiB/MiB/GiB to specify rate at which packets will be sent. Similarly to -t,--gap option the packets will be sent in slow mode with 1 CPU. Tested with ifpps. Signed-off-by: Vadim Kochan Signed-off-by: Tobias Klauser --- trafgen.8 | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'trafgen.8') diff --git a/trafgen.8 b/trafgen.8 index 6f5d318..57ce8fa 100644 --- a/trafgen.8 +++ b/trafgen.8 @@ -136,6 +136,10 @@ probing for a given interval, iii) ping-like debugging with specific payload patterns. Furthermore, the TX_RING interface does not cope with interpacket gaps. .PP +.SS -b , --rate +Specify the packet send rate pps/B/kB/MB/GB/kBit/Mbit/Gbit/KiB/MiB/GiB units. +Like with the -t,--gap option, the packets are sent in slow mode. +.PP .SS -S , --ring-size Manually define the TX_RING resp. TX_RING size in ''KiB/MiB/GiB''. On default the size is being determined based on the network connectivity rate. -- cgit v1.2.3-54-g00ecf