Article View: linux.kernel.netdev
Article #2173Re: [PATCH net-next 2/4] net/sched/sch_cake: reduce parent backlog when clearing a tin
From: netdev-bot+sashiko
Date: Mon, 12 Oct 2026 08:15
Date: Mon, 12 Oct 2026 08:15
50 lines
7520 bytes
7520 bytes
Thank you for your contribution! Sashiko AI review found more severe
issue(s) in other patches of this series. This mail is only an FYI, in case
you want to address the nit picks below when you respin.
Low priority / nit picks for your consideration:
- [Low] The commit is missing a Fixes: tag.
--
net/sched/sch_cake: reduce parent backlog when clearing a tin
This commit changes cake_configure_rates() to record CAKE's qlen and
backlog before and after the purge of unused tins during DiffServ
reconfiguration. It then calls qdisc_tree_reduce_backlog() once with the
difference. Before this, cake_clear_tin() dropped those packets without
updating classful parents such as HTB, so their qlen/backlog accounting
was left wrong.
Link: https://sashiko.dev/#/patchset/20260816012109.2865223-1-ooonea@gmail.com
Link: https://lore.kernel.org/netdev/20260816012109.2865223-1-ooonea@gmail.com/
> CAKE has purged unused tins on DiffServ reconfiguration since commit
> 83f8fd69af4f ("sch_cake: Add DiffServ handling") without propagating the
> resulting backlog reduction to classful parents. The issue was noticed
> while reviewing 7cbfb180945c, but predates that change.
[ ... ]
> Reported-by: Sashiko (gemini) <sashiko-bot@kernel.org>
> Link: https://sashiko.dev/#/patchset/20260816012109.2865223-1-ooonea@gmail.com
> Link: https://lore.kernel.org/netdev/20260816012109.2865223-1-ooonea@gmail.com/
> Reviewed-by: Victor Nogueira <victor@mojatatu.com>
> Signed-off-by: Jamal Hadi Salim <jhs@mojatatu.com>
[Severity: Low]
Should this patch have a Fixes: tag? The commit message names 83f8fd69af4f
as the commit that added the cake_clear_tin() purge in
cake_configure_rates() without a parent backlog reduction. However, the
only trailers are Reported-by, Link, Reviewed-by and Signed-off-by.
Would it make sense to add something like this:
Fixes: 83f8fd69af4f ("sch_cake: Add DiffServ handling")
so that stable tooling can pick up the fix for older kernels?
--
Sashiko AI review ยท https://netdev-ai.bots.linux.dev/sashiko/#/patchset/QDISC-5RTM.v1.20261007130704%40mojatatu.com
Technical Details
Message-ID:
<179179295184.434549.14404407377546037457@kernel.org>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-344791-linux-kernel-netdev=dewy.ruReferences:
<QDISC-5RTM.v1.20261007130704-3@mojatatu.com>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-344791-linux-kernel-netdev=dewy.ru From: netdev-bot+sashiko@kernel.org Newsgroups: linux.kernel.netdev Subject: Re: [PATCH net-next 2/4] net/sched/sch_cake: reduce parent backlog when clearing a tin Date: Mon, 12 Oct 2026 08:15:51 +0000 Organization: Usenet Network Message-ID: <179179295184.434549.14404407377546037457@kernel.org> References: <QDISC-5RTM.v1.20261007130704-3@mojatatu.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Injection-Info: usenet.network; logging-data="1715910"; mail-complaints-to="abuse@usenet.network" Cancel-Lock: sha1:8Oo36ynSn2Lbp1mtmdO02b+UuiA= sha256:WrL5NEu+AFJnKNySBxLPiEJM6erlVQE86sgDPKIqGm0= sha1:PQRIS57gB8NMR22JdYmMv846Ars= sha256:/bUYaXaWxG7YnHBBWR1D4lHoIOHp5AJVwzer1Y57ePk= List-ID: <netdev.vger.kernel.org> X-Mailpost-Empty-Hdrs: X-Spam-Level X-Received: from localhost (localhost [127.0.0.1]) by mail.dewy.ru (Postfix) with ESMTP id 14AD210FB2D; Mon, 12 Oct 2026 11:16:18 +0300 (MSK) X-Virus-Scanned: Debian amavisd-new at usenet.network X-Spam-Flag: NO X-Spam-Score: -1.341 X-Spam-Status: No, score=-1.341 tagged_above=-9999 required=6.31 tests=[DCC_REPUT_70_89=0.1, DKIMWL_WL_HIGH=-0.241, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, MAILING_LIST_MULTI=-1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no X-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=pass (2048-bit key) header.d=kernel.org X-Received: from mail.dewy.ru ([127.0.0.1]) by localhost (mail.dewy.ru [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id u2G8fyKEg7AL; Mon, 12 Oct 2026 11:16:14 +0300 (MSK) X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=104.64.211.4; helo=sin.lore.kernel.org; envelope-from=netdev+bounces-344791-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> X-Authentication-Results: OpenDMARC; dmarc=pass (p=quarantine dis=none) header.from=kernel.org X-Received: from sin.lore.kernel.org (sin.lore.kernel.org [104.64.211.4]) by mail.dewy.ru (Postfix) with ESMTPS id 0DCDF10FB03; Mon, 12 Oct 2026 11:16:04 +0300 (MSK) X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.90.174.1]) by sin.lore.kernel.org (Postfix) with ESMTP id E4E7824F6D; Mon, 12 Oct 2026 08:15:54 +0000 (UTC) X-Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 3CF2F450405; Mon, 12 Oct 2026 08:15:54 +0000 (UTC) X-Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="aCLofL4/" X-Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 1EF9F3955D3 for <netdev@vger.kernel.org>; Mon, 12 Oct 2026 08:15:52 +0000 (UTC) X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 X-ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1791792954; cv=none; b=Q5Qr72wuQR0DoaFEbMMFe9O5GKGp5EMS1oL2VY0pHpuzD6MjlC/nI8lldbyCcNUCjptFz++6TlRwdZY+TRBHJEE1nMcGehWd+lYM//3IV/jNSwDGIUqfFFLtWFqx+8RS3uWMfdriZcHCl0SB9GS9Y7eiiwDErIeNc2WIkBcjJag= X-ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1791792954; c=relaxed/simple; bh=Zt4hHDZ29vwmILLPDCY7mm6yyInCPMa3RAnKboHlyNs=; h=Subject:From:To:Cc:Date:Message-ID:In-Reply-To:References: Content-Type:MIME-Version; b=gXUtQNZp6cfTNOCwdbNvYDr2oaF4oa4aSKWALBEzgxPy7566oQiy3OgKOrHk/p5c0ift8Ephv1+bVxK2kHkYzUwg/TQgLUfWFzHXK0KHIgYub5OjVdogi6z6ekgm8+nbig8iB54ej+PBCo1mKt5t0Xtjz6Js5GVFwLBmVyNws78= X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=aCLofL4/; arc=none smtp.client-ip=100.103.45.18 X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id 405461F0089B; Mon, 12 Oct 2026 08:15:52 +0000 (UTC) X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1791792952; bh=SCawRjNF2cEG3bYudW9Ft19zAi4PfNEk/TIxbMOeRtY=; h=Subject:From:To:Cc:Date:In-Reply-To:References; b=aCLofL4/m7iAfkWid9TT9rxiZTDVMsqgP54RBI3LzK29kORQr4n0J/amWnQT0O6V0 VnibZh3Qwys8Xnyu4s99iRA+e49ur+YgkkYC5BO3DJr5FAMy3jlNBQD0W3fw5KLVBg 9fJ0TkrrGusubmpx+eziqn3jUB1h8vpjgCdNRjUfxgdGi/tE+W4v+xiYk2vCLMwj9z nC+6188fP3NJ3PwScmh+Evsbu3jvfM7iM6VBmWeL3ONbt4StnUzotJvY6N60c6lGIY IrL58Dc3ZJvqn8dgsw6FbhK532PlJakR35QI8o3LSElb7mLsJx2LeoMBPzfklVcUVL ouIlmclDAYNtQ== X-Cc: netdev@vger.kernel.org, toke@toke.dk, jiri@resnulli.us, davem@davemloft.net, edumazet@kernel.org, kuba@kernel.org, pabeni@redhat.com, horms@kernel.org, victor@mojatatu.com, cake@lists.bufferbloat.net X-In-Reply-To: <QDISC-5RTM.v1.20261007130704-3@mojatatu.com> X-sashiko-severity: Low X-Precedence: bulk X-Mailing-List: netdev@vger.kernel.org X-List-Subscribe: <mailto:netdev+subscribe@vger.kernel.org> X-List-Unsubscribe: <mailto:netdev+unsubscribe@vger.kernel.org>