[Cake] [PATCH] q_cake: Update xstats format to use per-tin structure

Jonathan Morton chromatix99 at gmail.com
Wed Mar 7 13:37:44 EST 2018


> On 7 Mar, 2018, at 8:27 pm, Kevin Darbyshire-Bryant <kevin at darbyshire-bryant.me.uk> wrote:
> 
>> Are you using the latest kernel code? Those values were added in an
>> incompatible manner, so if you don't have userspace and kernel code in
>> sync they'll be garbage, basically…
> 
> I’m using latest commit on kernel space sch_cake cobalt branch and identical user space tc/q_cake.c to tc-adv repo.  It’s not just those new values, overhead, dropped, overlimits, requeues are all long standing parameters.
> 
> All the values, including the new, worked just before the big json conversion.

Supporting this, all five of the new fields are u16 or smaller, so are incapable of representing (or being misinterpreted as) values in the millions.

I haven't looked at the converted code yet.

 - Jonathan Morton



More information about the Cake mailing list