summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIlias Apalodimas <ilias.apalodimas@linaro.org>2018-10-29 12:16:50 +0200
committerIlias Apalodimas <ilias.apalodimas@linaro.org>2018-10-29 12:16:50 +0200
commit0f091e2bc4aacd4886f6fa208578dac38f810eda (patch)
tree67e3e52f6e2201868f2d3dfa5b09fe3911df2125
parentc402323ea9f66754f508378ceff47f9f55bffb5c (diff)
decreaase udp_tai delays
Signed-off-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
-rwxr-xr-xscripts/send-udp-tai.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/scripts/send-udp-tai.sh b/scripts/send-udp-tai.sh
index 7c74083..e6f2584 100755
--- a/scripts/send-udp-tai.sh
+++ b/scripts/send-udp-tai.sh
@@ -5,6 +5,9 @@
git clone https://github.com/apalos/taprio-tests.git
pushd taprio-tests && make
popd
+delay='1000'
+# cycle must match taprio schedule on the host
+cycle='1000000'
now=`date +%s%N`
i=$(($now + 37000000000))
@@ -12,4 +15,4 @@ base=$(($i - ($i % 1000000000) + 100000))
iface=$(find_vland_iface)
lava-send udp-tai-tx
# TODO make args configurable
-./taprio-tests/udp_tai -i "$iface" -b "$base" -P 1000000 -p 90 -d 60000 -u 7788 &
+./taprio-tests/udp_tai -i "$iface" -b "$base" -P "$cycle" -p 90 -d "$delay" -u 7788 &