hc
2023-12-11 d2ccde1c8e90d38cee87a1b0309ad2827f3fd30d
kernel/samples/pktgen/README.rst
....@@ -3,7 +3,7 @@
33 This directory contains some pktgen sample and benchmark scripts, that
44 can easily be copied and adjusted for your own use-case.
55
6
-General doc is located in kernel: Documentation/networking/pktgen.txt
6
+General doc is located in kernel: Documentation/networking/pktgen.rst
77
88 Helper include files
99 ====================
....@@ -18,8 +18,9 @@
1818 Usage: ./pktgen_sample01_simple.sh [-vx] -i ethX
1919 -i : ($DEV) output interface/device (required)
2020 -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
2222 -m : ($DST_MAC) destination MAC-addr
23
+ -p : ($DST_PORT) destination PORT range (e.g. 433-444) is also allowed
2324 -t : ($THREADS) threads to start
2425 -f : ($F_THREAD) index of first thread (zero indexed CPU number)
2526 -c : ($SKB_CLONE) SKB clones send before alloc new SKB