Article View: linux.kernel.netdev
Article #5080Re: [PATCH net-next v5 11/14] net: ethernet: cortina: Account RX buffer size in truesize
From: netdev-bot+sashiko
Date: Mon, 19 Oct 2026 17:28
Date: Mon, 19 Oct 2026 17:28
53 lines
9759 bytes
9759 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 "net: ethernet: cortina: Account RX buffer size in
truesize" fixes a long-standing bug but has no Fixes: trailer.
--
net: ethernet: cortina: Account RX buffer size in truesize
This commit changes gmac_rx() in drivers/net/ethernet/cortina/gemini.c so
that each attached RX page fragment adds the full posted free queue buffer
size (freeq_frag_len) to skb->truesize. Previously it added only the
received payload length (frag_len).
> net: ethernet: cortina: Account RX buffer size in truesize
>
> gmac_rx() charges only the received payload length for each page fragment
> attached to an skb. Each fragment pins a complete free queue DMA buffer, so
> short packets understate their memory use to GRO and socket accounting.
[ ... ]
> Assisted-by: LLM
> Signed-off-by: Linus Walleij <linusw@kernel.org>
[Severity: Low]
The message describes the old truesize undercount as an issue being fixed.
Should this commit carry a Fixes: tag?
The line being replaced in gmac_rx() looks like it came in unchanged with
the original driver:
skb->truesize += frag_len;
Git blame on the parent commit attributes it to:
Fixes: 4d5ae32f5e1e ("net: ethernet: Add a driver for Gemini gigabit ethernet")
The other patches in this series that fix bugs from the same commit
("Keep shared free queue parent-owned", "Drain free queue IRQ before
resize" and "Preserve in-flight free queue pages") all carry
Fixes: 4d5ae32f5e1e, but this one does not.
Without the tag, stable tooling may not pick this fix up along with the
others.
--
Sashiko AI review ยท https://netdev-ai.bots.linux.dev/sashiko/#/patchset/20261015-gemini-ethernet-fixes-3-v5-0-b5c9e2f7b8a3%40kernel.org
Technical Details
Message-ID:
<179243093087.3135.5982028940228797936@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-348753-linux-kernel-netdev=dewy.ruReferences:
<20261015-gemini-ethernet-fixes-3-v5-11-b5c9e2f7b8a3@kernel.org>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-348753-linux-kernel-netdev=dewy.ru From: netdev-bot+sashiko@kernel.org Newsgroups: linux.kernel.netdev Subject: Re: [PATCH net-next v5 11/14] net: ethernet: cortina: Account RX buffer size in truesize Date: Mon, 19 Oct 2026 17:28:50 +0000 Organization: Usenet Network Message-ID: <179243093087.3135.5982028940228797936@kernel.org> References: <20261015-gemini-ethernet-fixes-3-v5-11-b5c9e2f7b8a3@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Injection-Info: usenet.network; logging-data="3687488"; mail-complaints-to="abuse@usenet.network" Cancel-Lock: sha1:IG3hZv0S9VaCM7wQTXncfbO9SvI= sha256:vCgV5AaHH6xEE0fdSeN1EcLwGxBwVTBS/Vtye85WraU= sha1:KSv3WKARPsgDRXqq59gWPMTK+JE= sha256:jeekWcy9/zi8moSEBvsKWauq7/XsX7WolJuvtmRQRmk= 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 6DC2A110ACD; Mon, 19 Oct 2026 21:39:47 +0300 (MSK) X-Virus-Scanned: Debian amavisd-new at usenet.network X-Spam-Flag: NO X-Spam-Score: -3.729 X-Spam-Status: No, score=-3.729 tagged_above=-9999 required=6.31 tests=[DCC_REPUT_70_89=0.1, DKIMWL_WL_HIGH=-0.329, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_MED=-2.3, 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 G8OqpsrOSq_V; Mon, 19 Oct 2026 21:39:42 +0300 (MSK) X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=netdev+bounces-348753-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 sea.lore.kernel.org (sea.lore.kernel.org [172.234.253.10]) by mail.dewy.ru (Postfix) with ESMTPS id 8120F110A35; Mon, 19 Oct 2026 21:39:31 +0300 (MSK) X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92]) by sea.lore.kernel.org (Postfix) with ESMTP id 250A0E1154; Mon, 19 Oct 2026 17:29:12 +0000 (UTC) X-Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1 X-ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass; t=1792430933; b=ByU5bbjDbV2ULk3baqNcSyPHi91x1PGxBspTN+UdJfZ6mAHdf0VleACYXlfa1q7HfBXp 1NX/inm8p5Ei9KvN4jYkvJ0Ilt/UlbkXwJwTT2UFHUxVw92lmKN35jvyNgNP7HVaovLJb zn30HSy4smUjXuu+3eNqXNWnG0DCI2F/jUAgsmnKDmGJJohgJCq6uIa548J6CH/XXcd46 ZSINSfeQZxcE67l7uli3qt+cO14TjrtH1d1QM+5IBq5913EjWpx7CEAgfLDi8B54XHM5q f+Nelnsa+vFVeoSExpVx++9/VHXiPyzVEwFweKX7+tJ1jgmoijrHNa6cHlZjnxr1AIA== X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1792430933; h=X-Original-To:Received:Received:DKIM-Signature:Subject:From:To:Cc: Date:Message-ID:In-Reply-To:References:X-sashiko-severity: Content-Type:Content-Transfer-Encoding:X-Mailing-List:List-Id: List-Post:List-Help:List-Subscribe:List-Unsubscribe:List-Owner: Precedence:MIME-Version; bh=ymiCoVfnivIzWbD4HRyFQxVEAH6xqE6XmG1Pklu+dH8=; b=gj1WQ5Sj592GiWufF8AGsNb2B0/aNQICvSxfU1fXjXEecFy5vOQ1hRW8w8t++8CIi5hF oMRLCcaoeIlCQY8f/bTxBq2FarrsY2DAa29tpHSfdIvIo6CXs1N/4s2qX7kh6igUOLKd2 m3IkyztApCmhhRnCetSQ3grLmM+L6Fdhjg/S9+lPmjkwUy+LMjpBPhlxMmY8C1CnKpl4I GFvG48/lfYVqRaPni5ExswDmwqVhWnxPQ9bl7HYbmSW3iZLKlX2UWvxUQhurIzpMGMoty 1ZN5ZMKhxKuLFz36+CjhxqEgyP2JdG7EXn2DY6YKzBpYIDTo89Hs8U/nlD93KbWpoCA== X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=PSeWptPk; arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1 X-Received: from localhost.localdomain (localhost [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 70F1260A261F; Mon, 19 Oct 2026 17:28:53 +0000 (UTC) X-Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key, unprotected) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=PSeWptPk X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1792430932; b=KY6VpsaAacyOcQh7Hr+w+8Jxfj/446oq0jx+bovx/vCdhvFi9xCla4fWv2Dh+d20qdmO Z+Yomfd+M36KxIiB7kWWamtCUBsXVxOpBM8qIyyp2kcp+BDhHki4/UXjk+wGykYtt1Q6l 07T0s/yhVuqpeBJT/rxiSw0RLh6yN/6+KJj+o18qmW7nstpImtp6TLL5I9x7AmHXunyZR cHSg34z94iTVx4WPXsk7Xm/F6vEqxk3O8+Z8lp1LMreokNy2DPi7D9tACKq+gb4ymUs83 a92/hWn3A/7/yh5+MHv4SUGPYGDX/c3CeL2t8eDN72WGOiYTzozkCQFOpw6/UVMrYgA== X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1792430932; h=Received:DKIM-Signature:Subject:From:To:Cc:Date:Message-ID: In-Reply-To:References:X-sashiko-severity:Content-Type: Content-Transfer-Encoding:MIME-Version; bh=ymiCoVfnivIzWbD4HRyFQxVEAH6xqE6XmG1Pklu+dH8=; b=JzfA2d8uD6ix+j197UumEyqFWpxKQyk7cXzye32Ru0igeeWiDuvc+pzw06SH3wDDbk0S 2sIGfNHS+lbgxyo3dtl5/hU0IGqLhQKmC+TCXQI/Uvcs6WmRnwzaaCd9LLOdvdKs0L3rn 63qINFeNLcw4ppfm/pza/VNPxjq57RT3Znn5p+FZus+6uMVlfJIlpVK3UrJOtm89hmok1 LhTZBPZ48etRrreGsVnLhr+BbjXvJWA+uknEDXN7DjZA1Rv55+1dCsz7f8TzMWmQ5iUw0 xBDZ9djnawVkHYgFfZGm/9ALqGsoJ+baYG56HeDPpU6PprH7WOaRZSa64oxru+8S8wQ== X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=PSeWptPk; arc=none smtp.remote-ip=100.103.45.18 X-Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4FF13606A328 for <netdev@vger.kernel.org>; Mon, 19 Oct 2026 17:28:52 +0000 (UTC) X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id 55DCE1F000CC; Mon, 19 Oct 2026 17:28:51 +0000 (UTC) X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1792430931; bh=ymiCoVfnivIzWbD4HRyFQxVEAH6xqE6XmG1Pklu+dH8=; h=Subject:From:To:Cc:Date:In-Reply-To:References; b=PSeWptPkXnDZdN50LUmmXmn3FtBt7A9V+yPoo3b9b3/wbrcmjYzMCtOF+qVWFd7gv aDm6HGwvtu0MWHU8yGqk/Oq5vzbho17hiOtTzMUVEfsLWyyEGXjMlITJVqWCrEamHK whtX25+Sc1MtYvYFFt/6QxiWHTgPWUJ71lZYrs36mNmbrrWo/pCK5gThWdYP4ToC7V 9+7q+gwYuF1ouytwRzQ8N32z5LuWCS4LPyovWhcOTsyAYgXkQzNDMA9gWQv7tzCD+j I05SQxMcsN55FWlwmBTMZFvqW/AzlVR9A8I8fmW96zC8suNPX4AOEc7ATSqxhYFJLU 5qBYkn25otYXA== X-Cc: ulli.kroll@googlemail.com, andrew+netdev@lunn.ch, davem@davemloft.net, kuba@kernel.org, pabeni@redhat.com, mirq-linux@rere.qmqm.pl, mhun512@gmail.com, edumazet@kernel.org, netdev@vger.kernel.org X-In-Reply-To: <20261015-gemini-ethernet-fixes-3-v5-11-b5c9e2f7b8a3@kernel.org> X-sashiko-severity: Low X-Mailing-List: netdev@vger.kernel.org X-List-Post: <mailto:netdev@vger.kernel.org> X-List-Help: <mailto:netdev+help@vger.kernel.org> X-List-Subscribe: <mailto:netdev+subscribe@vger.kernel.org> X-List-Unsubscribe: <mailto:netdev+unsubscribe@vger.kernel.org> X-List-Owner: <mailto:netdev+owner@vger.kernel.org> X-Precedence: list