summaryrefslogtreecommitdiff
path: root/scripts/send-udp-tai.sh
blob: 8a609ebcd8ec83e9e34100fad6c1b7b5090ddc2f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/bash

. scripts/lava-common.sh

git clone https://github.com/apalos/taprio-tests.git
pushd taprio-tests && make
popd
now=`date +%s%N`
i=$(($now + 37000000000))
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 &