diff options
author | Tariq Toukan <tariqt@mellanox.com> | 2017-06-15 19:07:22 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-06-16 12:32:34 -0400 |
commit | e0e16672ee9e2c31d9601d762cf934196b13a7fc (patch) | |
tree | fe98cc2b576624b43bd00dbebcdcb2636d952401 /samples/pktgen/README.rst | |
parent | 69137ea60c9dad58773a1918de6c1b00b088520c (diff) | |
download | lwn-e0e16672ee9e2c31d9601d762cf934196b13a7fc.tar.gz lwn-e0e16672ee9e2c31d9601d762cf934196b13a7fc.zip |
pktgen: Specify the index of first thread
Use "-f <num>", to specify the index of the first
sender thread.
In default first thread is #0.
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.rst | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/samples/pktgen/README.rst b/samples/pktgen/README.rst index c018d67da1a1..ff8929da61c5 100644 --- a/samples/pktgen/README.rst +++ b/samples/pktgen/README.rst @@ -21,6 +21,7 @@ across the sample scripts. Usage example is printed on errors:: -d : ($DEST_IP) destination IP -m : ($DST_MAC) destination MAC-addr -t : ($THREADS) threads to start + -f : ($F_THREAD) index of first thread (zero indexed CPU number) -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 |