2 # SPDX-License-Identifier: GPL-2.0
4 # A driver for the ETS selftest that implements testing in slowpath.
24 # Create a bottleneck so that the DWRR process can kick in.
25 tc qdisc add dev
$swp2 root handle
1: tbf \
26 rate
1Gbit burst
1Mbit latency
100ms
33 tc qdisc del dev
$swp2 root
36 # Callback from sch_ets_tests.sh
39 local -a streams
=("$@")
42 for stream
in ${streams[@]}; do
43 qdisc_parent_stats_get
$swp2 10:$
((stream
+ 1)) .bytes