samples/pktgen: Correct comments about the thread config
authorBen Hutchings <ben.hutchings@codethink.co.uk>
Tue, 24 Feb 2015 02:32:37 +0000 (02:32 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 24 Feb 2015 03:03:18 +0000 (22:03 -0500)
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>
samples/pktgen/pktgen.conf-1-1
samples/pktgen/pktgen.conf-1-1-flows
samples/pktgen/pktgen.conf-1-1-ip6
samples/pktgen/pktgen.conf-1-1-ip6-rdos
samples/pktgen/pktgen.conf-1-1-rdos
samples/pktgen/pktgen.conf-1-2
samples/pktgen/pktgen.conf-2-1
samples/pktgen/pktgen.conf-2-2

index 0a81c98..79462ad 100755 (executable)
@@ -18,7 +18,7 @@ function pgset() {
 
 
 # thread config
-# Each CPU has own thread. Two CPU exammple. We add eth1, eth2 respectivly.
+# Each CPU has its own thread. One CPU example. We add eth1.
 
 PGDEV=/proc/net/pktgen/kpktgend_0
   echo "Removing all devices"
index 872dcba..629ac3e 100755 (executable)
@@ -18,7 +18,7 @@ function pgset() {
 
 
 # thread config
-# Each CPU has own thread. Two CPU exammple. We add eth1, eth2 respectivly.
+# Each CPU has its own thread. One CPU example. We add eth1.
 
 PGDEV=/proc/net/pktgen/kpktgend_0
   echo "Removing all devices"
index cf0e86f..c392475 100755 (executable)
@@ -18,7 +18,7 @@ function pgset() {
 
 
 # thread config
-# Each CPU has own thread. Two CPU exammple. We add eth1, eth2 respectivly.
+# Each CPU has its own thread. One CPU example. We add eth1.
 # IPv6. Note increase in minimal packet length
 
 PGDEV=/proc/net/pktgen/kpktgend_0
index 799baee..220d276 100755 (executable)
@@ -18,7 +18,7 @@ function pgset() {
 
 
 # thread config
-# Each CPU has own thread. Two CPU exammple. We add eth1, eth2 respectivly.
+# Each CPU has its own thread. One CPU example. We add eth1.
 # IPv6. Note increase in minimal packet length
 
 PGDEV=/proc/net/pktgen/kpktgend_0
index e71f281..6013975 100755 (executable)
@@ -18,7 +18,7 @@ function pgset() {
 
 
 # thread config
-# Each CPU has own thread. Two CPU exammple. We add eth1, eth2 respectivly.
+# Each CPU has its own thread. One CPU example. We add eth1.
 
 PGDEV=/proc/net/pktgen/kpktgend_0
   echo "Removing all devices"
index 7f6e88e..136e10c 100755 (executable)
@@ -18,7 +18,7 @@ function pgset() {
 
 
 # thread config
-# One CPU means one thread. One CPU exammple. We add eth1, eth2 respectivly.
+# One CPU means one thread. One CPU example. We add eth1, eth2 respectivly.
 
 PGDEV=/proc/net/pktgen/kpktgend_0
   echo "Removing all devices"
index 5e402cf..ccd3278 100755 (executable)
@@ -18,7 +18,8 @@ function pgset() {
 
 
 # thread config
-# Each CPU has own thread. Two CPU exammple. We add eth1, eth2 respectivly.
+# Each CPU has its own thread. Two CPU example. We add eth1 to the first
+# and leave the second idle.
 
 PGDEV=/proc/net/pktgen/kpktgend_0
   echo "Removing all devices"
index d63dc5f..49ae4cf 100755 (executable)
@@ -18,7 +18,7 @@ function pgset() {
 
 
 # thread config
-# Each CPU has own thread. Two CPU exammple. We add eth1, eth2 respectivly.
+# Each CPU has its own thread. Two CPU example. We add eth1, eth2 respectively.
 
 PGDEV=/proc/net/pktgen/kpktgend_0
   echo "Removing all devices"