Skip to content
Snippets Groups Projects
Commit 2ad1cdf2 authored by Ben Hutchings's avatar Ben Hutchings Committed by David S. Miller
Browse files

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: default avatarBen Hutchings <ben.hutchings@codethink.co.uk>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 865367db
No related branches found
No related tags found
No related merge requests found
...@@ -18,7 +18,7 @@ function pgset() { ...@@ -18,7 +18,7 @@ function pgset() {
# thread config # 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 PGDEV=/proc/net/pktgen/kpktgend_0
echo "Removing all devices" echo "Removing all devices"
......
...@@ -18,7 +18,7 @@ function pgset() { ...@@ -18,7 +18,7 @@ function pgset() {
# thread config # 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 PGDEV=/proc/net/pktgen/kpktgend_0
echo "Removing all devices" echo "Removing all devices"
......
...@@ -18,7 +18,7 @@ function pgset() { ...@@ -18,7 +18,7 @@ function pgset() {
# thread config # 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 # IPv6. Note increase in minimal packet length
PGDEV=/proc/net/pktgen/kpktgend_0 PGDEV=/proc/net/pktgen/kpktgend_0
......
...@@ -18,7 +18,7 @@ function pgset() { ...@@ -18,7 +18,7 @@ function pgset() {
# thread config # 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 # IPv6. Note increase in minimal packet length
PGDEV=/proc/net/pktgen/kpktgend_0 PGDEV=/proc/net/pktgen/kpktgend_0
......
...@@ -18,7 +18,7 @@ function pgset() { ...@@ -18,7 +18,7 @@ function pgset() {
# thread config # 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 PGDEV=/proc/net/pktgen/kpktgend_0
echo "Removing all devices" echo "Removing all devices"
......
...@@ -18,7 +18,7 @@ function pgset() { ...@@ -18,7 +18,7 @@ function pgset() {
# thread config # 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 PGDEV=/proc/net/pktgen/kpktgend_0
echo "Removing all devices" echo "Removing all devices"
......
...@@ -18,7 +18,8 @@ function pgset() { ...@@ -18,7 +18,8 @@ function pgset() {
# thread config # 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 PGDEV=/proc/net/pktgen/kpktgend_0
echo "Removing all devices" echo "Removing all devices"
......
...@@ -18,7 +18,7 @@ function pgset() { ...@@ -18,7 +18,7 @@ function pgset() {
# thread config # 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 PGDEV=/proc/net/pktgen/kpktgend_0
echo "Removing all devices" echo "Removing all devices"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment