mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-27 06:04:23 +08:00
samples/pktgen: Show the results rather than just commenting where they are
Signed-off-by: Ben Hutchings <ben.hutchings@codethink.co.uk> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
16b5d0c4a2
commit
4062bd25f0
@ -56,5 +56,4 @@ PGDEV=/proc/net/pktgen/pgctrl
|
||||
trap true INT
|
||||
pgset "start"
|
||||
echo "Done"
|
||||
|
||||
# Result can be vieved in /proc/net/pktgen/eth1
|
||||
cat /proc/net/pktgen/eth1
|
||||
|
@ -64,5 +64,4 @@ PGDEV=/proc/net/pktgen/pgctrl
|
||||
trap true INT
|
||||
pgset "start"
|
||||
echo "Done"
|
||||
|
||||
# Result can be vieved in /proc/net/pktgen/eth1
|
||||
cat /proc/net/pktgen/eth1
|
||||
|
@ -57,5 +57,4 @@ PGDEV=/proc/net/pktgen/pgctrl
|
||||
trap true INT
|
||||
pgset "start"
|
||||
echo "Done"
|
||||
|
||||
# Result can be vieved in /proc/net/pktgen/eth1
|
||||
cat /proc/net/pktgen/eth1
|
||||
|
@ -60,5 +60,4 @@ PGDEV=/proc/net/pktgen/pgctrl
|
||||
trap true INT
|
||||
pgset "start"
|
||||
echo "Done"
|
||||
|
||||
# Result can be vieved in /proc/net/pktgen/eth1
|
||||
cat /proc/net/pktgen/eth1
|
||||
|
@ -61,5 +61,4 @@ PGDEV=/proc/net/pktgen/pgctrl
|
||||
trap true INT
|
||||
pgset "start"
|
||||
echo "Done"
|
||||
|
||||
# Result can be vieved in /proc/net/pktgen/eth1
|
||||
cat /proc/net/pktgen/eth1
|
||||
|
@ -66,5 +66,4 @@ PGDEV=/proc/net/pktgen/pgctrl
|
||||
trap true INT
|
||||
pgset "start"
|
||||
echo "Done"
|
||||
|
||||
# Result can be vieved in /proc/net/pktgen/eth[1,2]
|
||||
cat /proc/net/pktgen/eth1 /proc/net/pktgen/eth2
|
||||
|
@ -63,5 +63,4 @@ PGDEV=/proc/net/pktgen/pgctrl
|
||||
trap true INT
|
||||
pgset "start"
|
||||
echo "Done"
|
||||
|
||||
# Result can be vieved in /proc/net/pktgen/eth1
|
||||
cat /proc/net/pktgen/eth1
|
||||
|
@ -70,5 +70,4 @@ PGDEV=/proc/net/pktgen/pgctrl
|
||||
trap true INT
|
||||
pgset "start"
|
||||
echo "Done"
|
||||
|
||||
# Result can be vieved in /proc/net/pktgen/eth[1,2]
|
||||
cat /proc/net/pktgen/eth1 /proc/net/pktgen/eth2
|
||||
|
Loading…
Reference in New Issue
Block a user