Skip to content

Commit

Permalink
samples/pktgen: Correct comments about the thread config
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: Ben Hutchings <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
  • Loading branch information
bwh-ct authored and davem330 committed Feb 24, 2015
1 parent 865367d commit 2ad1cdf
Show file tree
Hide file tree
Showing 8 changed files with 9 additions and 8 deletions.
2 changes: 1 addition & 1 deletion samples/pktgen/pktgen.conf-1-1
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion samples/pktgen/pktgen.conf-1-1-flows
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion samples/pktgen/pktgen.conf-1-1-ip6
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion samples/pktgen/pktgen.conf-1-1-ip6-rdos
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion samples/pktgen/pktgen.conf-1-1-rdos
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion samples/pktgen/pktgen.conf-1-2
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
3 changes: 2 additions & 1 deletion samples/pktgen/pktgen.conf-2-1
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion samples/pktgen/pktgen.conf-2-2
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 2ad1cdf

Please sign in to comment.