Lines Matching +full:spi +full:- +full:tx +full:- +full:delay +full:- +full:us
4 ------------------------------------
6 Enable CONFIG_NET_PKTGEN to compile and build pktgen either in-kernel
29 overload type of benchmarking, as this could hurt the normal use-case.
31 Specifically increasing the TX ring buffer in the NIC:
32 # ethtool -G ethX tx 1024
34 A larger TX ring can improve pktgen's performance, while it can hurt
35 in the general case, 1) because the TX ring buffer might get larger
40 TX ring cause delay. Drivers usually delay cleaning up the
41 ring-buffers for various performance reasons, and packets stalling
42 the TX ring might just be waiting for cleanup.
45 (Intel 82599 chip). This driver (ixgbe) combines TX+RX ring cleanups,
46 and the cleanup interval is affected by the ethtool --coalesce setting
47 of parameter "rx-usecs".
50 # ethtool -C ethX rx-usecs 30
67 * add_device DEVICE@NAME -- adds a single device
68 * rem_device_all -- remove all associated devices
91 frags: 0 delay: 0 clone_skb: 64 ifname: eth4@0
101 pkts-sofar: 100000 errors: 0
102 started: 623913381008us stopped: 623913396439us idle: 25us
129 packet and update HW tx queue tail pointer once.
136 pgset "delay 5000" adds delay to hard_start_xmit(). nanoseconds
150 pgset "queue_map_min 0" Sets the min value of tx queue interval
151 pgset "queue_map_max 7" Sets the max value of tx queue interval, for multiqueue devices
180 pgset "spi [SPI_VALUE]" Set specific SA used to transform packet.
206 pgset "vlan_id 77" set VLAN ID 0-4095
207 pgset "vlan_p 3" set priority bit 0-7 (default 0)
208 pgset "vlan_cfi 0" set canonical format identifier 0-1 (default 0)
210 pgset "svlan_id 22" set SVLAN ID 0-4095
211 pgset "svlan_p 3" set priority bit 0-7 (default 0)
212 pgset "svlan_cfi 0" set canonical format identifier 0-1 (default 0)
236 ./pktgen_sample01_simple.sh -i eth4 -m 00:1B:21:3C:9D:F8 -d 192.168.8.2
238 Usage: ./pktgen_sample01_simple.sh [-vx] -i ethX
239 -i : ($DEV) output interface/device (required)
240 -s : ($PKT_SIZE) packet size
241 -d : ($DEST_IP) destination IP
242 -m : ($DST_MAC) destination MAC-addr
243 -t : ($THREADS) threads to start
244 -c : ($SKB_CLONE) SKB clones send before alloc new SKB
245 -b : ($BURST) HW level bursting of SKBs
246 -v : ($VERBOSE) verbose
247 -x : ($DEBUG) debug
250 interface/device parameter "-i" sets variable $DEV. Copy the
255 pktgen.conf-1-2 # 1 CPU 2 dev
256 pktgen.conf-1-1-rdos # 1 CPU 1 dev w. route DoS
257 pktgen.conf-1-1-ip6 # 1 CPU 1 dev ipv6
258 pktgen.conf-1-1-ip6-rdos # 1 CPU 1 dev ipv6 w. route DoS
259 pktgen.conf-1-1-flows # 1 CPU 1 dev multiple flows.
265 also assign /proc/irq/XX/smp_affinity so that the TX interrupts are bound
268 Plus using the device flag QUEUE_MAP_CPU, which maps the SKBs TX queue
280 you can use "pgset spi SPI_VALUE" to specify which transformation mode
307 delay
353 spi (ipsec)
389 ftp://robur.slu.se/pub/Linux/net-development/pktgen-testing/
390 ftp://robur.slu.se/pub/Linux/net-development/pktgen-testing/examples/
392 Paper from Linux-Kongress in Erlangen 2004.
393 ftp://robur.slu.se/pub/Linux/net-development/pktgen-testing/pktgen_paper.pdf
396 Grant Grundler for testing on IA-64 and parisc, Harald Welte, Lennert Buytenhek
400 Good luck with the linux net-development.