iproute2: cake: support new operating modes for 17.01
authorKevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
Fri, 22 Dec 2017 13:45:11 +0000 (13:45 +0000)
committerJohn Crispin <john@phrozen.org>
Fri, 29 Dec 2017 23:36:01 +0000 (00:36 +0100)
commitc4e9487cf54cf8e3b04c22c8864f5fd1f4b33fc8
tree17927ab38aa39717541b801d24c23700136391eb
parent4f1dca9ecac0fd58944e0b8add88026dea88a00b
iproute2: cake: support new operating modes for 17.01

There has been recent significant activity with the cake qdisc of late
Some of that effort is related to upstreaming to kernel & iproute2
mainline but we're not quite there yet.  This commit teaches tc how to
activate and interprete the latest cake operating modes, namely:

ingress mode: Instead of only counting packets that make it past the
shaper, include packets we've decided to drop as well, since they did
arrive with us on the link and took link capacity.
This mode is more suitable for shaping the ingress of a link
(e.g. from ISP) rather than the more normal egress.

ack-filter/ack-filter-aggressive: Filter excessive TCP ACKS.  Useful in
highly assymetric links (downstream v upstream capacity) where the
majority of upstream link capacity is occupied with ACKS for downstream
traffic.

Signed-off-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
package/network/utils/iproute2/Makefile
package/network/utils/iproute2/patches/950-add-cake-to-tc.patch