Skip to content

Commit 2ad1cdf

Browse files
bwh-ctdavem330
authored andcommitted
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>
1 parent 865367d commit 2ad1cdf

8 files changed

Lines changed: 9 additions & 8 deletions

‎samples/pktgen/pktgen.conf-1-1‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ function pgset() {
1818

1919

2020
# 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.
2222

2323
PGDEV=/proc/net/pktgen/kpktgend_0
2424
echo "Removing all devices"

‎samples/pktgen/pktgen.conf-1-1-flows‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ function pgset() {
1818

1919

2020
# 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.
2222

2323
PGDEV=/proc/net/pktgen/kpktgend_0
2424
echo "Removing all devices"

‎samples/pktgen/pktgen.conf-1-1-ip6‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ function pgset() {
1818

1919

2020
# 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.
2222
# IPv6. Note increase in minimal packet length
2323

2424
PGDEV=/proc/net/pktgen/kpktgend_0

‎samples/pktgen/pktgen.conf-1-1-ip6-rdos‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ function pgset() {
1818

1919

2020
# 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.
2222
# IPv6. Note increase in minimal packet length
2323

2424
PGDEV=/proc/net/pktgen/kpktgend_0

‎samples/pktgen/pktgen.conf-1-1-rdos‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ function pgset() {
1818

1919

2020
# 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.
2222

2323
PGDEV=/proc/net/pktgen/kpktgend_0
2424
echo "Removing all devices"

‎samples/pktgen/pktgen.conf-1-2‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ function pgset() {
1818

1919

2020
# 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.
2222

2323
PGDEV=/proc/net/pktgen/kpktgend_0
2424
echo "Removing all devices"

‎samples/pktgen/pktgen.conf-2-1‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@ function pgset() {
1818

1919

2020
# 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.
2223

2324
PGDEV=/proc/net/pktgen/kpktgend_0
2425
echo "Removing all devices"

‎samples/pktgen/pktgen.conf-2-2‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ function pgset() {
1818

1919

2020
# 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.
2222

2323
PGDEV=/proc/net/pktgen/kpktgend_0
2424
echo "Removing all devices"

0 commit comments

Comments
 (0)