]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
net/sched: sch_cake: avoid sync overhead when unlimited
authorJonas Köppeler <j.koeppeler@tu-berlin.de>
Thu, 26 Feb 2026 11:40:15 +0000 (12:40 +0100)
committerJakub Kicinski <kuba@kernel.org>
Sat, 28 Feb 2026 02:35:40 +0000 (18:35 -0800)
commit0b3cd139be565b85f4a3579e376152b9def6256a
tree1790d3e81fbddf909a46cc0e30e40972a0b28fa4
parent29252397bcc1e0a1f85e5c3bee59c325f5c26341
net/sched: sch_cake: avoid sync overhead when unlimited

Skip inter-instance sync when no rate limit is configured, as it serves
no purpose and only adds overhead.

Fixes: 1bddd758bac2 ("net/sched: sch_cake: share shaper state across sub-instances of cake_mq")
Signed-off-by: Jonas Köppeler <j.koeppeler@tu-berlin.de>
Acked-by: Toke Høiland-Jørgensen <toke@toke.dk>
Link: https://patch.msgid.link/20260226-cake-mq-skip-sync-bandwidth-unlimited-v1-1-01830bb4db87@tu-berlin.de
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
net/sched/sch_cake.c