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

Toke Høiland-Jørgensen toke at toke.dk
Fri Feb 9 08:08:19 EST 2018


Jonathan Morton <chromatix99 at gmail.com> writes:

>> 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.

Yup, that's on my list; haven't gotten around to it yet... :)

-Toke


More information about the Cake mailing list