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