diff options
author | Ben Hutchings <ben.hutchings@codethink.co.uk> | 2015-02-23 21:32:37 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-02-23 22:03:18 -0500 |
commit | 2ad1cdf2ea5991b42b934d76c36113ceb4561fa6 (patch) | |
tree | 71b4af417e75482fa07e3a037e7339ed6a7946e6 /samples | |
parent | 865367db658f6f4d7b8280b0968b47e2cbddab90 (diff) |
samples/pktgen: Correct comments about the thread config
They all claimed to be two CPU examples using eth1, eth2 but
that is only true in one case!
Rob Jones pointed out spelling and grammar errors here, which I've
also corrected.
Cc: Rob Jones <rob.jones@codethink.co.uk>
Signed-off-by: Ben Hutchings <ben.hutchings@codethink.co.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'samples')
-rwxr-xr-x | samples/pktgen/pktgen.conf-1-1 | 2 | ||||
-rwxr-xr-x | samples/pktgen/pktgen.conf-1-1-flows | 2 | ||||
-rwxr-xr-x | samples/pktgen/pktgen.conf-1-1-ip6 | 2 | ||||
-rwxr-xr-x | samples/pktgen/pktgen.conf-1-1-ip6-rdos | 2 | ||||
-rwxr-xr-x | samples/pktgen/pktgen.conf-1-1-rdos | 2 | ||||
-rwxr-xr-x | samples/pktgen/pktgen.conf-1-2 | 2 | ||||
-rwxr-xr-x | samples/pktgen/pktgen.conf-2-1 | 3 | ||||
-rwxr-xr-x | samples/pktgen/pktgen.conf-2-2 | 2 |
8 files changed, 9 insertions, 8 deletions
diff --git a/samples/pktgen/pktgen.conf-1-1 b/samples/pktgen/pktgen.conf-1-1 index 0a81c985129c..79462adad05d 100755 --- a/samples/pktgen/pktgen.conf-1-1 +++ b/samples/pktgen/pktgen.conf-1-1 | |||
@@ -18,7 +18,7 @@ function pgset() { | |||
18 | 18 | ||
19 | 19 | ||
20 | # thread config | 20 | # thread config |
21 | # Each CPU has own thread. Two CPU exammple. We add eth1, eth2 respectivly. | 21 | # Each CPU has its own thread. One CPU example. We add eth1. |
22 | 22 | ||
23 | PGDEV=/proc/net/pktgen/kpktgend_0 | 23 | PGDEV=/proc/net/pktgen/kpktgend_0 |
24 | echo "Removing all devices" | 24 | echo "Removing all devices" |
diff --git a/samples/pktgen/pktgen.conf-1-1-flows b/samples/pktgen/pktgen.conf-1-1-flows index 872dcbadd6c3..629ac3eaee35 100755 --- a/samples/pktgen/pktgen.conf-1-1-flows +++ b/samples/pktgen/pktgen.conf-1-1-flows | |||
@@ -18,7 +18,7 @@ function pgset() { | |||
18 | 18 | ||
19 | 19 | ||
20 | # thread config | 20 | # thread config |
21 | # Each CPU has own thread. Two CPU exammple. We add eth1, eth2 respectivly. | 21 | # Each CPU has its own thread. One CPU example. We add eth1. |
22 | 22 | ||
23 | PGDEV=/proc/net/pktgen/kpktgend_0 | 23 | PGDEV=/proc/net/pktgen/kpktgend_0 |
24 | echo "Removing all devices" | 24 | echo "Removing all devices" |
diff --git a/samples/pktgen/pktgen.conf-1-1-ip6 b/samples/pktgen/pktgen.conf-1-1-ip6 index cf0e86f8b43c..c392475d60cf 100755 --- a/samples/pktgen/pktgen.conf-1-1-ip6 +++ b/samples/pktgen/pktgen.conf-1-1-ip6 | |||
@@ -18,7 +18,7 @@ function pgset() { | |||
18 | 18 | ||
19 | 19 | ||
20 | # thread config | 20 | # thread config |
21 | # Each CPU has own thread. Two CPU exammple. We add eth1, eth2 respectivly. | 21 | # Each CPU has its own thread. One CPU example. We add eth1. |
22 | # IPv6. Note increase in minimal packet length | 22 | # IPv6. Note increase in minimal packet length |
23 | 23 | ||
24 | PGDEV=/proc/net/pktgen/kpktgend_0 | 24 | PGDEV=/proc/net/pktgen/kpktgend_0 |
diff --git a/samples/pktgen/pktgen.conf-1-1-ip6-rdos b/samples/pktgen/pktgen.conf-1-1-ip6-rdos index 799baeec0216..220d276f033a 100755 --- a/samples/pktgen/pktgen.conf-1-1-ip6-rdos +++ b/samples/pktgen/pktgen.conf-1-1-ip6-rdos | |||
@@ -18,7 +18,7 @@ function pgset() { | |||
18 | 18 | ||
19 | 19 | ||
20 | # thread config | 20 | # thread config |
21 | # Each CPU has own thread. Two CPU exammple. We add eth1, eth2 respectivly. | 21 | # Each CPU has its own thread. One CPU example. We add eth1. |
22 | # IPv6. Note increase in minimal packet length | 22 | # IPv6. Note increase in minimal packet length |
23 | 23 | ||
24 | PGDEV=/proc/net/pktgen/kpktgend_0 | 24 | PGDEV=/proc/net/pktgen/kpktgend_0 |
diff --git a/samples/pktgen/pktgen.conf-1-1-rdos b/samples/pktgen/pktgen.conf-1-1-rdos index e71f2818eef9..6013975d26d9 100755 --- a/samples/pktgen/pktgen.conf-1-1-rdos +++ b/samples/pktgen/pktgen.conf-1-1-rdos | |||
@@ -18,7 +18,7 @@ function pgset() { | |||
18 | 18 | ||
19 | 19 | ||
20 | # thread config | 20 | # thread config |
21 | # Each CPU has own thread. Two CPU exammple. We add eth1, eth2 respectivly. | 21 | # Each CPU has its own thread. One CPU example. We add eth1. |
22 | 22 | ||
23 | PGDEV=/proc/net/pktgen/kpktgend_0 | 23 | PGDEV=/proc/net/pktgen/kpktgend_0 |
24 | echo "Removing all devices" | 24 | echo "Removing all devices" |
diff --git a/samples/pktgen/pktgen.conf-1-2 b/samples/pktgen/pktgen.conf-1-2 index 7f6e88e53ffd..136e10caff63 100755 --- a/samples/pktgen/pktgen.conf-1-2 +++ b/samples/pktgen/pktgen.conf-1-2 | |||
@@ -18,7 +18,7 @@ function pgset() { | |||
18 | 18 | ||
19 | 19 | ||
20 | # thread config | 20 | # thread config |
21 | # One CPU means one thread. One CPU exammple. We add eth1, eth2 respectivly. | 21 | # One CPU means one thread. One CPU example. We add eth1, eth2 respectivly. |
22 | 22 | ||
23 | PGDEV=/proc/net/pktgen/kpktgend_0 | 23 | PGDEV=/proc/net/pktgen/kpktgend_0 |
24 | echo "Removing all devices" | 24 | echo "Removing all devices" |
diff --git a/samples/pktgen/pktgen.conf-2-1 b/samples/pktgen/pktgen.conf-2-1 index 5e402cf9b0f5..ccd32780bed1 100755 --- a/samples/pktgen/pktgen.conf-2-1 +++ b/samples/pktgen/pktgen.conf-2-1 | |||
@@ -18,7 +18,8 @@ function pgset() { | |||
18 | 18 | ||
19 | 19 | ||
20 | # thread config | 20 | # thread config |
21 | # Each CPU has own thread. Two CPU exammple. We add eth1, eth2 respectivly. | 21 | # Each CPU has its own thread. Two CPU example. We add eth1 to the first |
22 | # and leave the second idle. | ||
22 | 23 | ||
23 | PGDEV=/proc/net/pktgen/kpktgend_0 | 24 | PGDEV=/proc/net/pktgen/kpktgend_0 |
24 | echo "Removing all devices" | 25 | echo "Removing all devices" |
diff --git a/samples/pktgen/pktgen.conf-2-2 b/samples/pktgen/pktgen.conf-2-2 index d63dc5f2112d..49ae4cf2bb76 100755 --- a/samples/pktgen/pktgen.conf-2-2 +++ b/samples/pktgen/pktgen.conf-2-2 | |||
@@ -18,7 +18,7 @@ function pgset() { | |||
18 | 18 | ||
19 | 19 | ||
20 | # thread config | 20 | # thread config |
21 | # Each CPU has own thread. Two CPU exammple. We add eth1, eth2 respectivly. | 21 | # Each CPU has its own thread. Two CPU example. We add eth1, eth2 respectively. |
22 | 22 | ||
23 | PGDEV=/proc/net/pktgen/kpktgend_0 | 23 | PGDEV=/proc/net/pktgen/kpktgend_0 |
24 | echo "Removing all devices" | 24 | echo "Removing all devices" |