aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/networking/pktgen.txt
diff options
context:
space:
mode:
Diffstat (limited to 'Documentation/networking/pktgen.txt')
-rw-r--r--Documentation/networking/pktgen.txt8
1 files changed, 4 insertions, 4 deletions
diff --git a/Documentation/networking/pktgen.txt b/Documentation/networking/pktgen.txt
index 18d385c068fc..c8eee23be8c0 100644
--- a/Documentation/networking/pktgen.txt
+++ b/Documentation/networking/pktgen.txt
@@ -7,7 +7,7 @@ Date: 041221
7 7
8Enable CONFIG_NET_PKTGEN to compile and build pktgen.o either in kernel 8Enable CONFIG_NET_PKTGEN to compile and build pktgen.o either in kernel
9or as module. Module is preferred. insmod pktgen if needed. Once running 9or as module. Module is preferred. insmod pktgen if needed. Once running
10pktgen creates a thread on each CPU where each thread has affinty it's CPU. 10pktgen creates a thread on each CPU where each thread has affinity to its CPU.
11Monitoring and controlling is done via /proc. Easiest to select a suitable 11Monitoring and controlling is done via /proc. Easiest to select a suitable
12a sample script and configure. 12a sample script and configure.
13 13
@@ -18,7 +18,7 @@ root 129 0.3 0.0 0 0 ? SW 2003 523:20 [pktgen/0]
18root 130 0.3 0.0 0 0 ? SW 2003 509:50 [pktgen/1] 18root 130 0.3 0.0 0 0 ? SW 2003 509:50 [pktgen/1]
19 19
20 20
21For montoring and control pktgen creates: 21For monitoring and control pktgen creates:
22 /proc/net/pktgen/pgctrl 22 /proc/net/pktgen/pgctrl
23 /proc/net/pktgen/kpktgend_X 23 /proc/net/pktgen/kpktgend_X
24 /proc/net/pktgen/ethX 24 /proc/net/pktgen/ethX
@@ -32,7 +32,7 @@ Running:
32Stopped: eth1 32Stopped: eth1
33Result: OK: max_before_softirq=10000 33Result: OK: max_before_softirq=10000
34 34
35Most important the devices assigend to thread. Note! A device can only belong 35Most important the devices assigned to thread. Note! A device can only belong
36to one thread. 36to one thread.
37 37
38 38
@@ -147,7 +147,7 @@ Examples:
147Example scripts 147Example scripts
148=============== 148===============
149 149
150A collection of small tutorial scripts for pktgen is in expamples dir. 150A collection of small tutorial scripts for pktgen is in examples dir.
151 151
152pktgen.conf-1-1 # 1 CPU 1 dev 152pktgen.conf-1-1 # 1 CPU 1 dev
153pktgen.conf-1-2 # 1 CPU 2 dev 153pktgen.conf-1-2 # 1 CPU 2 dev