Re: [PATCH net v3] net/sched: sch_cake: fix autorate reconfiguration throttling
Toke Høiland-Jørgensen <[email protected]>
| Newsgroups | org.kernel.vger.netdev,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <[email protected]> |
Giuseppe Piscitelli <[email protected]> writes: > CAKE's autorate-ingress path intends to limit shaper reconfiguration to > once per 250 ms, but last_reconfig_time is only checked and never updated. > Since the field stays zero, every qualifying capacity-estimate window can > call cake_reconfigure(), causing avoidable rate churn and scheduler work > under bursty traffic. > > Store the current timestamp when autorate actually reconfigures the qdisc > so the guard enforces the intended interval. > > Fixes: 7298de9cd725 ("sch_cake: Add ingress mode") > Assisted-by: Codex:gpt-5.5 > Signed-off-by: Giuseppe Piscitelli <[email protected]> Please retain ACKs when reposting. Acked-by: Toke Høiland-Jørgensen <[email protected]>