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
27 defer tc qdisc del dev
$swp2 root
31 # Callback from sch_ets_tests.sh
34 local -a streams
=("$@")
37 for stream
in ${streams[@]}; do
38 qdisc_parent_stats_get
$swp2 10:$
((stream
+ 1)) .bytes