]> git.proxmox.com Git - mirror_iproute2.git/commit - tc/tc_red.c
tc: red: allow setting th_min and th_max to the same value
authorJakub Kicinski <jakub.kicinski@netronome.com>
Tue, 16 Jan 2018 23:08:50 +0000 (15:08 -0800)
committerDavid Ahern <dsahern@gmail.com>
Fri, 19 Jan 2018 20:35:23 +0000 (12:35 -0800)
commite0850bdedc22ccc536039b1cb832cf383cafc6f8
tree9f97c7d65c7a2edf77a35c94ec320b26a6a13890
parentc0788a09d4387e97e57a35482ba45c02417e3a72
tc: red: allow setting th_min and th_max to the same value

Setting th_min and th_max to the same value may be useful for DCTCP
deployments.  The original DCTCP paper describes it as a simplest way
of achieving simple ECN threshold marking.  Indeed, there doesn't seem
to be any simpler qdisc in Linux which would allow such a setup today.

Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Reviewed-by: Dirk van der Merwe <dirk.vandermerwe@netronome.com>
Signed-off-by: David Ahern <dsahern@gmail.com>
tc/tc_red.c