[Cake] [PATCH v2] Split tin stats to its own structure to decrease size of tc_cake_xstats

Jonathan Morton chromatix99 at gmail.com
Fri Feb 9 07:58:42 EST 2018

> On 27 Jan, 2018, at 3:05 pm, Toke Høiland-Jørgensen <toke at toke.dk> wrote:
> This splits out the tin stats from tc_cake_xstats, which seems like the
> least intrusive way of decreasing the size of the stats structure. This
> way, we can send only the statistics corresponding to the actual number of
> allocated tins, rather than having the xstats structure always be allocated
> for the full number of tins.

In order for this patch to work, we would need a corresponding patch for iproute2 so that it can successfully read the new structure - including correcting for changes in the size field.

 - Jonathan Morton

More information about the Cake mailing list