blob: 76455f94bde8ab2289ec401aec4f0c491133254e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
#!/bin/bash
. scripts/lava-common.sh
iface=$(find_vland_iface)
i=$((`date +%s%N` + 37000000000 + (2 * 60 * 1000000000)))
base=$(($i - ($i % 1000000000)))
tc qdisc replace dev "$iface" parent root handle 100 taprio \
num_tc 3 \
map 2 2 1 0 2 2 2 2 2 2 2 2 2 2 2 2 \
queues 1@0 1@1 2@2 \
base-time $base \
sched-entry S 01 300000 \
sched-entry S 02 300000 \
sched-entry S 04 400000 \
clockid CLOCK_TAI
|