[Cake] [PATCH net-next, v3 01/18] net/sched: sch_api: add helper for tc qdisc walker stats dump
Toke Høiland-Jørgensen
toke at redhat.com
Wed Sep 21 05:40:45 EDT 2022
Zhengchao Shao <shaozhengchao at huawei.com> writes:
> The walk implementation of most qdisc class modules is basically the
> same. That is, the values of count and skip are checked first. If
> count is greater than or equal to skip, the registered fn function is
> executed. Otherwise, increase the value of count. So we can reconstruct
> them.
>
> Signed-off-by: Zhengchao Shao <shaozhengchao at huawei.com>
Acked-by: Toke Høiland-Jørgensen <toke at redhat.com>
More information about the Cake
mailing list