iproute2: cake: support new operating modes
authorKevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
Fri, 15 Dec 2017 16:19:22 +0000 (16:19 +0000)
committerJohn Crispin <john@phrozen.org>
Fri, 15 Dec 2017 22:54:51 +0000 (23:54 +0100)
commita9940ca2d7afb4f287c9799ab17d292e83cc03df
tree9fbec822e652a93cbbcf4caa670af91462813a0c
parent0589979f7ba1483c4d7c83a63d74c85d2a6e4bb2
iproute2: cake: support new operating modes

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