summaryrefslogtreecommitdiffstats
path: root/samples/pktgen/README.rst
diff options
context:
space:
mode:
authorTariq Toukan2017-06-15 18:07:21 +0200
committerDavid S. Miller2017-06-16 18:32:34 +0200
commit69137ea60c9dad58773a1918de6c1b00b088520c (patch)
tree6300bfe517a2d5cb0c0e8edb71fd6119988d2ec4 /samples/pktgen/README.rst
parentMerge branch 'net-mvmdio-add-xMDIO-xSMI-support' (diff)
downloadkernel-qcow2-linux-69137ea60c9dad58773a1918de6c1b00b088520c.tar.gz
kernel-qcow2-linux-69137ea60c9dad58773a1918de6c1b00b088520c.tar.xz
kernel-qcow2-linux-69137ea60c9dad58773a1918de6c1b00b088520c.zip
pktgen: Specify num packets per thread
Use -n <num>, to specify the number of packets every thread sends. Zero means indefinitely. Signed-off-by: Tariq Toukan <tariqt@mellanox.com> Cc: Jesper Dangaard Brouer <brouer@redhat.com> Acked-by: Jesper Dangaard Brouer <brouer@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'samples/pktgen/README.rst')
-rw-r--r--samples/pktgen/README.rst1
1 files changed, 1 insertions, 0 deletions
diff --git a/samples/pktgen/README.rst b/samples/pktgen/README.rst
index 8365c4e5c513..c018d67da1a1 100644
--- a/samples/pktgen/README.rst
+++ b/samples/pktgen/README.rst
@@ -22,6 +22,7 @@ across the sample scripts. Usage example is printed on errors::
-m : ($DST_MAC) destination MAC-addr
-t : ($THREADS) threads to start
-c : ($SKB_CLONE) SKB clones send before alloc new SKB
+ -n : ($COUNT) num messages to send per thread, 0 means indefinitely
-b : ($BURST) HW level bursting of SKBs
-v : ($VERBOSE) verbose
-x : ($DEBUG) debug