Lines Matching +full:sw +full:- +full:reset +full:- +full:number

1 .. SPDX-License-Identifier: GPL-2.0
7 Enable CONFIG_NET_PKTGEN to compile and build pktgen either in-kernel
16 root 129 0.3 0.0 0 0 ? SW 2003 523:20 [kpktgend_0]
17 root 130 0.3 0.0 0 0 ? SW 2003 509:50 [kpktgend_1]
31 overload type of benchmarking, as this could hurt the normal use-case.
35 # ethtool -G ethX tx 1024
44 ring-buffers for various performance reasons, and packets stalling
49 and the cleanup interval is affected by the ethtool --coalesce setting
50 of parameter "rx-usecs".
54 # ethtool -C ethX rx-usecs 30
72 * add_device DEVICE@NAME -- adds a single device
73 * rem_device_all -- remove all associated devices
84 number.
106 pkts-sofar: 100000 errors: 0
132 pgset "clone_skb 1" sets the number of copies of the same packet
139 pgset "count 200000" sets number of packets to send, set to zero
161 pgset "src_mac_count 1" Sets the number of MACs we'll range through.
164 pgset "dst_mac_count 1" Sets the number of MACs we'll range through.
212 pgset "vlan_id 77" set VLAN ID 0-4095
213 pgset "vlan_p 3" set priority bit 0-7 (default 0)
214 pgset "vlan_cfi 0" set canonical format identifier 0-1 (default 0)
216 pgset "svlan_id 22" set SVLAN ID 0-4095
217 pgset "svlan_p 3" set priority bit 0-7 (default 0)
218 pgset "svlan_cfi 0" set canonical format identifier 0-1 (default 0)
243 ./pktgen_sample01_simple.sh -i eth4 -m 00:1B:21:3C:9D:F8 -d 192.168.8.2
247 ./pktgen_sample01_simple.sh [-vx] -i ethX
249 -i : ($DEV) output interface/device (required)
250 -s : ($PKT_SIZE) packet size
251 -d : ($DEST_IP) destination IP. CIDR (e.g. 198.18.0.0/15) is also allowed
252 -m : ($DST_MAC) destination MAC-addr
253 -p : ($DST_PORT) destination PORT range (e.g. 433-444) is also allowed
254 -t : ($THREADS) threads to start
255 -f : ($F_THREAD) index of first thread (zero indexed CPU number)
256 -c : ($SKB_CLONE) SKB clones send before alloc new SKB
257 -n : ($COUNT) num messages to send per thread, 0 means indefinitely
258 -b : ($BURST) HW level bursting of SKBs
259 -v : ($VERBOSE) verbose
260 -x : ($DEBUG) debug
261 -6 : ($IP6) IPv6
262 -w : ($DELAY) Tx Delay value (ns)
263 -a : ($APPEND) Script will not reset generator's state, but will append its config
266 interface/device parameter "-i" sets variable $DEV. Copy the
299 reset
398 - ftp://robur.slu.se/pub/Linux/net-development/pktgen-testing/
399 - ftp://robur.slu.se/pub/Linux/net-development/pktgen-testing/examples/
401 Paper from Linux-Kongress in Erlangen 2004.
402 - ftp://robur.slu.se/pub/Linux/net-development/pktgen-testing/pktgen_paper.pdf
406 Grant Grundler for testing on IA-64 and parisc, Harald Welte, Lennert Buytenhek
410 Good luck with the linux net-development.