summaryrefslogtreecommitdiffstats
path: root/samples/pktgen
diff options
context:
space:
mode:
authorBen Hutchings <ben.hutchings@codethink.co.uk>2015-02-24 02:32:37 +0000
committerDavid S. Miller <davem@davemloft.net>2015-02-23 22:03:18 -0500
commit2ad1cdf2ea5991b42b934d76c36113ceb4561fa6 (patch)
tree71b4af417e75482fa07e3a037e7339ed6a7946e6 /samples/pktgen
parent865367db658f6f4d7b8280b0968b47e2cbddab90 (diff)
downloadop-kernel-dev-2ad1cdf2ea5991b42b934d76c36113ceb4561fa6.zip
op-kernel-dev-2ad1cdf2ea5991b42b934d76c36113ceb4561fa6.tar.gz
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/pktgen')
-rwxr-xr-xsamples/pktgen/pktgen.conf-1-12
-rwxr-xr-xsamples/pktgen/pktgen.conf-1-1-flows2
-rwxr-xr-xsamples/pktgen/pktgen.conf-1-1-ip62
-rwxr-xr-xsamples/pktgen/pktgen.conf-1-1-ip6-rdos2
-rwxr-xr-xsamples/pktgen/pktgen.conf-1-1-rdos2
-rwxr-xr-xsamples/pktgen/pktgen.conf-1-22
-rwxr-xr-xsamples/pktgen/pktgen.conf-2-13
-rwxr-xr-xsamples/pktgen/pktgen.conf-2-22
8 files changed, 9 insertions, 8 deletions
diff --git a/samples/pktgen/pktgen.conf-1-1 b/samples/pktgen/pktgen.conf-1-1
index 0a81c98..79462ada 100755
--- a/samples/pktgen/pktgen.conf-1-1
+++ b/samples/pktgen/pktgen.conf-1-1
@@ -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"
diff --git a/samples/pktgen/pktgen.conf-1-1-flows b/samples/pktgen/pktgen.conf-1-1-flows
index 872dcba..629ac3e 100755
--- a/samples/pktgen/pktgen.conf-1-1-flows
+++ b/samples/pktgen/pktgen.conf-1-1-flows
@@ -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"
diff --git a/samples/pktgen/pktgen.conf-1-1-ip6 b/samples/pktgen/pktgen.conf-1-1-ip6
index cf0e86f..c392475 100755
--- a/samples/pktgen/pktgen.conf-1-1-ip6
+++ b/samples/pktgen/pktgen.conf-1-1-ip6
@@ -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
diff --git a/samples/pktgen/pktgen.conf-1-1-ip6-rdos b/samples/pktgen/pktgen.conf-1-1-ip6-rdos
index 799baee..220d276 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() {
# 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
diff --git a/samples/pktgen/pktgen.conf-1-1-rdos b/samples/pktgen/pktgen.conf-1-1-rdos
index e71f281..6013975 100755
--- a/samples/pktgen/pktgen.conf-1-1-rdos
+++ b/samples/pktgen/pktgen.conf-1-1-rdos
@@ -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"
diff --git a/samples/pktgen/pktgen.conf-1-2 b/samples/pktgen/pktgen.conf-1-2
index 7f6e88e..136e10c 100755
--- a/samples/pktgen/pktgen.conf-1-2
+++ b/samples/pktgen/pktgen.conf-1-2
@@ -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"
diff --git a/samples/pktgen/pktgen.conf-2-1 b/samples/pktgen/pktgen.conf-2-1
index 5e402cf9..ccd3278 100755
--- a/samples/pktgen/pktgen.conf-2-1
+++ b/samples/pktgen/pktgen.conf-2-1
@@ -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"
diff --git a/samples/pktgen/pktgen.conf-2-2 b/samples/pktgen/pktgen.conf-2-2
index d63dc5f..49ae4cf 100755
--- a/samples/pktgen/pktgen.conf-2-2
+++ b/samples/pktgen/pktgen.conf-2-2
@@ -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"
OpenPOWER on IntegriCloud