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)
downloadop-kernel-dev-4062bd25f0be9bd2dae25992ad87247ac4f73df3.zip
op-kernel-dev-4062bd25f0be9bd2dae25992ad87247ac4f73df3.tar.gz
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 fc1d15c..f91daad 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 e00d66c..081749c 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 f161453..0b9ffd4 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 06b5028..ad98e5f 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 8f1ce1a..c7553be 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 f151e85..ba4eb26 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 e6b36b2..e108e97 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 6484435..acea155 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
OpenPOWER on IntegriCloud