diff options
author | Ben Hutchings <ben.hutchings@codethink.co.uk> | 2015-02-23 21:32:07 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-02-23 22:03:18 -0500 |
commit | 7c95a9d962f9ffdf02a3d82a6ae108c254a29122 (patch) | |
tree | 0efaf1c8ea66db3315ae45f02023ddd1af7be4ff /Documentation | |
parent | ca5b542ccee76e58407c3529f39974d382124093 (diff) |
samples/pktgen: Add sample scripts for pktgen facility
These are Robert Olsson's samples which used to be available from
<ftp://robur.slu.se/pub/Linux/net-development/pktgen-testing/examples/>
but currently are not.
Change the documentation to refer to these consistently as 'sample
scripts', matching the directory name used here.
Cc: Robert Olsson <robert@herjulf.se>
Signed-off-by: Ben Hutchings <ben.hutchings@codethink.co.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/networking/pktgen.txt | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/Documentation/networking/pktgen.txt b/Documentation/networking/pktgen.txt index fa0ad87e6597..24c6dc100e02 100644 --- a/Documentation/networking/pktgen.txt +++ b/Documentation/networking/pktgen.txt | |||
@@ -92,8 +92,8 @@ Result: OK: 13101142(c12220741+d880401) usec, 10000000 (60byte,0frags) | |||
92 | 92 | ||
93 | Configuring threads and devices | 93 | Configuring threads and devices |
94 | ================================ | 94 | ================================ |
95 | This is done via the /proc interface, and most easily done via pgset in | 95 | This is done via the /proc interface, and most easily done via pgset |
96 | the scripts. | 96 | as defined in the sample scripts. |
97 | 97 | ||
98 | Examples: | 98 | Examples: |
99 | 99 | ||
@@ -192,11 +192,11 @@ Examples: | |||
192 | pgset "rate 300M" set rate to 300 Mb/s | 192 | pgset "rate 300M" set rate to 300 Mb/s |
193 | pgset "ratep 1000000" set rate to 1Mpps | 193 | pgset "ratep 1000000" set rate to 1Mpps |
194 | 194 | ||
195 | Example scripts | 195 | Sample scripts |
196 | =============== | 196 | ============== |
197 | 197 | ||
198 | A collection of small tutorial scripts for pktgen is in the examples | 198 | A collection of small tutorial scripts for pktgen is in the |
199 | directory: | 199 | samples/pktgen directory: |
200 | 200 | ||
201 | pktgen.conf-1-1 # 1 CPU 1 dev | 201 | pktgen.conf-1-1 # 1 CPU 1 dev |
202 | pktgen.conf-1-2 # 1 CPU 2 dev | 202 | pktgen.conf-1-2 # 1 CPU 2 dev |