2 # SPDX-License-Identifier: GPL-2.0
12 source sch_red_core.sh
20 tc qdisc add dev
$swp3 root handle
108: red \
21 limit
1000000 min
$BACKLOG max $
((BACKLOG
+ 1)) \
22 probability
1.0 avpkt
8000 burst
38 "${args[@]}"
28 tc qdisc del dev
$swp3 root
34 do_ecn_test
10 $BACKLOG
40 install_qdisc ecn nodrop
41 do_ecn_nodrop_test
10 $BACKLOG
48 do_red_test
10 $BACKLOG
55 # Note that the backlog value here does not correspond to RED
56 # configuration, but is arbitrary.
57 do_mc_backlog_test
10 $BACKLOG
63 install_qdisc qevent early_drop block
10
64 do_drop_mirror_test
10 $BACKLOG