]> rtime.felk.cvut.cz Git - lisovros/iproute2_canprio.git/commit
choke: support TCA_CHOKE_MAX_P
authorEric Dumazet <eric.dumazet@gmail.com>
Fri, 20 Jan 2012 15:19:44 +0000 (16:19 +0100)
committerStephen Hemminger <stephen.hemminger@vyatta.com>
Fri, 20 Jan 2012 16:12:23 +0000 (08:12 -0800)
commit650252d8c36453dd08de3e67235d8f326ba451ec
tree2e02423f723c4caa41df50b7ec47ce1996647c51
parent6987ecf0832d62350ea10432f3f1f7a84c457b81
choke: support TCA_CHOKE_MAX_P

TCA_CHOKE_MAX_P permits to express high resolution RED probability.

tc qdisc add dev $DEV parent 1:1 handle 10: est 1sec 8sec choke \
limit 90 ecn min 10 max 30 probability 0.05 bandwidth 10Mbit

Before patch :

tc -s -d qdisc show dev eth3
qdisc ... limit 90p min 10p max 30p ecn ewma 3 Plog 19 Scell_log 13

After :

qdisc ... limit 90p min 10p max 30p ecn ewma 3 probability 0.05
Scell_log 13

Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
tc/q_choke.c