summaryrefslogtreecommitdiff
path: root/scripts/send-udp-tai.sh
blob: 7c74083ba4a6f37bf8c69ac2f8fe470a199e0c9c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/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 &