summaryrefslogtreecommitdiffstats
path: root/samples
diff options
context:
space:
mode:
authorBen Hutchings <ben.hutchings@codethink.co.uk>2015-02-24 02:33:20 +0000
committerDavid S. Miller <davem@davemloft.net>2015-02-23 22:04:25 -0500
commit4062bd25f0be9bd2dae25992ad87247ac4f73df3 (patch)
treebfb077b59a78ef03d15e9d91a41fe9a3d1bf3f70 /samples
parent16b5d0c4a24c793ca3584ca5c50fd5f8f2166120 (diff)
downloadlinux-4062bd25f0be9bd2dae25992ad87247ac4f73df3.tar.gz
linux-4062bd25f0be9bd2dae25992ad87247ac4f73df3.tar.bz2
linux-4062bd25f0be9bd2dae25992ad87247ac4f73df3.zip
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>
Diffstat (limited to 'samples')
-rwxr-xr-xsamples/pktgen/pktgen.conf-1-13
-rwxr-xr-xsamples/pktgen/pktgen.conf-1-1-flows3
-rwxr-xr-xsamples/pktgen/pktgen.conf-1-1-ip63
-rwxr-xr-xsamples/pktgen/pktgen.conf-1-1-ip6-rdos3
-rwxr-xr-xsamples/pktgen/pktgen.conf-1-1-rdos3
-rwxr-xr-xsamples/pktgen/pktgen.conf-1-23
-rwxr-xr-xsamples/pktgen/pktgen.conf-2-13
-rwxr-xr-xsamples/pktgen/pktgen.conf-2-23
8 files changed, 8 insertions, 16 deletions
diff --git a/samples/pktgen/pktgen.conf-1-1 b/samples/pktgen/pktgen.conf-1-1
index fc1d15c98595..f91daad9e916 100755
--- a/samples/pktgen/pktgen.conf-1-1
+++ b/samples/pktgen/pktgen.conf-1-1
@@ -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
diff --git a/samples/pktgen/pktgen.conf-1-1-flows b/samples/pktgen/pktgen.conf-1-1-flows
index e00d66c8f5e5..081749c9707d 100755
--- a/samples/pktgen/pktgen.conf-1-1-flows
+++ b/samples/pktgen/pktgen.conf-1-1-flows
@@ -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
diff --git a/samples/pktgen/pktgen.conf-1-1-ip6 b/samples/pktgen/pktgen.conf-1-1-ip6
index f16145303afb..0b9ffd47fd41 100755
--- a/samples/pktgen/pktgen.conf-1-1-ip6
+++ b/samples/pktgen/pktgen.conf-1-1-ip6
@@ -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
diff --git a/samples/pktgen/pktgen.conf-1-1-ip6-rdos b/samples/pktgen/pktgen.conf-1-1-ip6-rdos
index 06b502834cc7..ad98e5f40776 100755
--- a/samples/pktgen/pktgen.conf-1-1-ip6-rdos
+++ b/samples/pktgen/pktgen.conf-1-1-ip6-rdos
@@ -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
diff --git a/samples/pktgen/pktgen.conf-1-1-rdos b/samples/pktgen/pktgen.conf-1-1-rdos
index 8f1ce1a0aa98..c7553be49b80 100755
--- a/samples/pktgen/pktgen.conf-1-1-rdos
+++ b/samples/pktgen/pktgen.conf-1-1-rdos
@@ -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
diff --git a/samples/pktgen/pktgen.conf-1-2 b/samples/pktgen/pktgen.conf-1-2
index f151e85c536a..ba4eb26e168d 100755
--- a/samples/pktgen/pktgen.conf-1-2
+++ b/samples/pktgen/pktgen.conf-1-2
@@ -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
diff --git a/samples/pktgen/pktgen.conf-2-1 b/samples/pktgen/pktgen.conf-2-1
index e6b36b2f840e..e108e97d6d89 100755
--- a/samples/pktgen/pktgen.conf-2-1
+++ b/samples/pktgen/pktgen.conf-2-1
@@ -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
diff --git a/samples/pktgen/pktgen.conf-2-2 b/samples/pktgen/pktgen.conf-2-2
index 6484435c104e..acea15503e71 100755
--- a/samples/pktgen/pktgen.conf-2-2
+++ b/samples/pktgen/pktgen.conf-2-2
@@ -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