提交 2ad1cdf2 编写于 作者: B Ben Hutchings 提交者: David S. Miller

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: NBen Hutchings <ben.hutchings@codethink.co.uk>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 865367db
...@@ -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"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册