diff options
| author | Giuseppe Piscitelli <ooonea@gmail.com> | 2026-08-20 17:45:03 +0200 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2026-08-22 13:51:40 -0700 |
| commit | 7cbfb180945ce529608e4d4e24a6d483699fab1e (patch) | |
| tree | 28d0c58fb834ce640b01ebaa6ab8f1107a9a9098 /tools/perf/scripts/python/bin | |
| parent | 11efd7963dac9b036a7c9a435ab0e621188910e8 (diff) | |
net/sched: sch_cake: fix autorate reconfiguration throttling
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")
Signed-off-by: Giuseppe Piscitelli <ooonea@gmail.com>
Acked-by: Toke Høiland-Jørgensen <toke@toke.dk>
Link: https://patch.msgid.link/20260820154503.892214-1-ooonea@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions
