summaryrefslogtreecommitdiff
path: root/samples/pktgen/pktgen_sample01_simple.sh
diff options
context:
space:
mode:
authorIgor Russkikh <irusskikh@marvell.com>2021-03-11 11:32:52 +0100
committerDavid S. Miller <davem@davemloft.net>2021-03-14 14:22:37 -0700
commitef700f2ea27e54f640c3957374469132e8bf46f5 (patch)
tree59f7e86cbf903da94841c1366cdcf64039970717 /samples/pktgen/pktgen_sample01_simple.sh
parent6f1629093399303bf19d6fcd5144061d1e25ec23 (diff)
samples: pktgen: allow to specify delay parameter via new opt
DELAY may now be explicitly specified via common parameter -w Signed-off-by: Igor Russkikh <irusskikh@marvell.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'samples/pktgen/pktgen_sample01_simple.sh')
-rwxr-xr-xsamples/pktgen/pktgen_sample01_simple.sh3
1 files changed, 0 insertions, 3 deletions
diff --git a/samples/pktgen/pktgen_sample01_simple.sh b/samples/pktgen/pktgen_sample01_simple.sh
index a4e250b45dce..c2ad1fa32d3f 100755
--- a/samples/pktgen/pktgen_sample01_simple.sh
+++ b/samples/pktgen/pktgen_sample01_simple.sh
@@ -31,9 +31,6 @@ if [ -n "$DST_PORT" ]; then
validate_ports $UDP_DST_MIN $UDP_DST_MAX
fi
-# Base Config
-DELAY="0" # Zero means max speed
-
# Flow variation random source port between min and max
UDP_SRC_MIN=9
UDP_SRC_MAX=109