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

2018-02-11 Thread Toke Høiland-Jørgensen
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

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

2018-02-11 Thread Toke Høiland-Jørgensen
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