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

Jonathan Morton chromatix99 at gmail.com
Mon Mar 5 18:08:22 EST 2018

> On 1 Mar, 2018, at 1:06 pm, Sebastian Moeller <moeller0 at gmx.de> wrote:
> BTW, my testing so far with the latest tc-adv did not result in any crashes, but I also did not research whether the overhead account behaves like expected...

I've just added the relevant stats output.  This breaks the stats struct again (better to do that just after breaking it once, I suppose), but I left in some padding to reduce the need for that in future.  These stats are kept globally, so are only reported as if for one tin.

So far it looks like everything is working fine and behaving as it should (on a plain Ethernet interface).  The one wrinkle is that it takes a few thousand packets for the avg_off value to converge on the true value, but that should easily be tolerable in most cases.

 - Jonathan Morton

More information about the Cake mailing list