[Cake] Cake on openwrt - falling behind

Toke Høiland-Jørgensen toke at toke.dk
Mon Jul 2 08:03:59 EDT 2018

Pete Heist <pete at heistp.net> writes:

>> On Jul 2, 2018, at 12:19 PM, Pete Heist <pete at heistp.net> wrote:
>> What is TCA_STATS2 vs TCA_STATS and where does it come from? That’s at least one rtattr that’s null in print_qdisc on MIPS for some reason. That’s where I’m at, anyway…
> I should have written that the rtattr at TCP_STATS2 has a zero len and
> type in it, not that it’s null.
> But, um, I find it curious that tb[TCA_PAD] has valid looking values
> in it, and if I just go:
> tb[TCA_STATS2] = tb[TCA_PAD]
> right after parse_rtattr is called, I start getting tin stats printed
> that look valid. There should be zeroes or invalid values at
> tb[TCA_PAD], as that’s just supposed to be padding, right?

Hmm, that's interesting. Sounds like you are on the right track. What
are the numerical values of TCA_STATS2 and TCA_PAD in the kernel and
iproute2, respectively?

And thank you for looking into this! :)


More information about the Cake mailing list