Commit 2ad1cdf2ea5991b42b934d76c36113ceb4561fa6

Authored by Ben Hutchings
Committed by David S. Miller
1 parent 865367db65

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>

Showing 8 changed files with 9 additions and 8 deletions Side-by-side Diff

samples/pktgen/pktgen.conf-1-1
... ... @@ -18,7 +18,7 @@
18 18  
19 19  
20 20 # 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.
22 22  
23 23 PGDEV=/proc/net/pktgen/kpktgend_0
24 24 echo "Removing all devices"
samples/pktgen/pktgen.conf-1-1-flows
... ... @@ -18,7 +18,7 @@
18 18  
19 19  
20 20 # 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.
22 22  
23 23 PGDEV=/proc/net/pktgen/kpktgend_0
24 24 echo "Removing all devices"
samples/pktgen/pktgen.conf-1-1-ip6
... ... @@ -18,7 +18,7 @@
18 18  
19 19  
20 20 # 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.
22 22 # IPv6. Note increase in minimal packet length
23 23  
24 24 PGDEV=/proc/net/pktgen/kpktgend_0
samples/pktgen/pktgen.conf-1-1-ip6-rdos
... ... @@ -18,7 +18,7 @@
18 18  
19 19  
20 20 # 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.
22 22 # IPv6. Note increase in minimal packet length
23 23  
24 24 PGDEV=/proc/net/pktgen/kpktgend_0
samples/pktgen/pktgen.conf-1-1-rdos
... ... @@ -18,7 +18,7 @@
18 18  
19 19  
20 20 # 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.
22 22  
23 23 PGDEV=/proc/net/pktgen/kpktgend_0
24 24 echo "Removing all devices"
samples/pktgen/pktgen.conf-1-2
... ... @@ -18,7 +18,7 @@
18 18  
19 19  
20 20 # 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.
22 22  
23 23 PGDEV=/proc/net/pktgen/kpktgend_0
24 24 echo "Removing all devices"
samples/pktgen/pktgen.conf-2-1
... ... @@ -18,7 +18,8 @@
18 18  
19 19  
20 20 # 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.
22 23  
23 24 PGDEV=/proc/net/pktgen/kpktgend_0
24 25 echo "Removing all devices"
samples/pktgen/pktgen.conf-2-2
... ... @@ -18,7 +18,7 @@
18 18  
19 19  
20 20 # 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.
22 22  
23 23 PGDEV=/proc/net/pktgen/kpktgend_0
24 24 echo "Removing all devices"