[Cake] [PATCH] q_cake: Update xstats format to use per-tin structure
toke at toke.dk
Tue Mar 6 16:06:01 EST 2018
Toke Høiland-Jørgensen <toke at toke.dk> writes:
> Stephen Hemminger <stephen at networkplumber.org> writes:
>> On Sun, 11 Feb 2018 18:26:18 +0100
>> Toke Høiland-Jørgensen <toke at toke.dk> wrote:
>>> This updates tc to understand the updated cake xstats structure (which
>>> splits out the tin stats in a separate structure the length of which is
>>> included in the containing struct).
>>> Old versions of the cake stats will no longer be understood by the
>>> resulting version of tc.
>>> Signed-off-by: Toke Høiland-Jørgensen <toke at toke.dk>
>> Please consider using new json printing routines in latest iproute2.
> Yeah, was going to look into that...
Right, so I merged the upstream iproute2-next repository into the master
branch and added JSON support to the Cake qdisc code.
I also removed a bunch of old compatibility code along the way, as well
as the fq_pie code and any changes to the repo that were not in upstream
and were not cake-related. So the delta between the tc-adv repo and
upstream is now only cake.
This was quite a bit of rearranging, so please do check if I broke
something along the way.
Other than that, though, this means that on the iproute2 side the only
thing missing before we can attempt an upstream submission is an update
of the man page, as far as I can tell. Any volunteers to do that? :)
More information about the Cake