]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
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 0a81c985129c9970786af73d1d1c78669ed1f95a..79462adad05d0d75d81e0e065bade74a1a46b975 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 872dcbadd6c38f161b5b1a1f90a66b9630b9287a..629ac3eaee35571bfe04f412b3be08f5ca3b4582 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 cf0e86f8b43c24dbf74baa6cd843a23f24556b9e..c392475d60cfa94bd5b05ca90f6da20450b6319e 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 799baeec0216f36ac0535632f607ab119c5cc3a4..220d276f033a1d2d12a4e9f7858f54b2500b8931 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 e71f2818eef979395d29afa9f218019c9161a1b7..6013975d26d9c09b41bba7e0fc0f4d512caf89b8 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 7f6e88e53ffd0ba18da6c7c5259dbfacada47d5a..136e10caff636d41b8289daa99584da734a0f629 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 5e402cf9b0f57afb4369d82e3b92eb9789c4c300..ccd32780bed16761c60b43bdd787376e32cbc694 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 d63dc5f2112dafd2706b80797e6ee5982e067cb9..49ae4cf2bb7692df4be3b6837b0ba782b12c4ce2 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"