.. | .. |
---|
3 | 3 | This directory contains some pktgen sample and benchmark scripts, that |
---|
4 | 4 | can easily be copied and adjusted for your own use-case. |
---|
5 | 5 | |
---|
6 | | -General doc is located in kernel: Documentation/networking/pktgen.txt |
---|
| 6 | +General doc is located in kernel: Documentation/networking/pktgen.rst |
---|
7 | 7 | |
---|
8 | 8 | Helper include files |
---|
9 | 9 | ==================== |
---|
.. | .. |
---|
18 | 18 | Usage: ./pktgen_sample01_simple.sh [-vx] -i ethX |
---|
19 | 19 | -i : ($DEV) output interface/device (required) |
---|
20 | 20 | -s : ($PKT_SIZE) packet size |
---|
21 | | - -d : ($DEST_IP) destination IP |
---|
| 21 | + -d : ($DEST_IP) destination IP. CIDR (e.g. 198.18.0.0/15) is also allowed |
---|
22 | 22 | -m : ($DST_MAC) destination MAC-addr |
---|
| 23 | + -p : ($DST_PORT) destination PORT range (e.g. 433-444) is also allowed |
---|
23 | 24 | -t : ($THREADS) threads to start |
---|
24 | 25 | -f : ($F_THREAD) index of first thread (zero indexed CPU number) |
---|
25 | 26 | -c : ($SKB_CLONE) SKB clones send before alloc new SKB |
---|