summaryrefslogtreecommitdiff
path: root/trafgen.8
diff options
context:
space:
mode:
authorVadim Kochan <vadim4j@gmail.com>2015-12-23 22:31:23 +0200
committerTobias Klauser <tklauser@distanz.ch>2016-01-05 15:05:37 +0100
commit9ece0fe0209673d2f3f7f4f3e3738dfa7ec1873b (patch)
tree7c9ba209db45e42bca2bd2c87acfef4ab827af06 /trafgen.8
parent881d25d78273f1f72deaff7ff4baf29e3a4c7136 (diff)
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 <vadim4j@gmail.com> Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'trafgen.8')
-rw-r--r--trafgen.84
1 files changed, 4 insertions, 0 deletions
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>, --rate <rate>
+Specify the packet send rate <num>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 <size>, --ring-size <size>
Manually define the TX_RING resp. TX_RING size in ''<num>KiB/MiB/GiB''. On
default the size is being determined based on the network connectivity rate.