๐Ÿš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #15458

Re: [PATCH net-next v4 2/5] net: devmem: charge the frag length to TX skb truesize

#15458
From: netdev-bot+sashiko
Date: Thu, 12 Nov 2026 22:48
40 lines
9586 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's author identity doesn't match its Signed-off-by
  identity.

--

net: devmem: charge the frag length to TX skb truesize

The devmem TX path in zerocopy_fill_skb_from_devmem() used to charge
PAGE_SIZE (the net_iov size) to skb->truesize for each frag. This patch
charges the frag length instead. With TX net_iovs about to grow to 2MB,
charging the net_iov size would overcharge the send buffer, and the frag
length also matches what TCP uncharges.

> Author: Stanislav Fomichev <sdf.kernel@gmail.com>
> [ ... ]
> Signed-off-by: Stanislav Fomichev <sdf@fomichev.me>

[Severity: Low]
This isn't a bug, but the author address and the Signed-off-by address
are different. The author is sdf.kernel@gmail.com, and the only sign-off
from the author is sdf@fomichev.me.

checkpatch.pl reports this as FROM_SIGN_OFF_MISMATCH ("From:/Signed-off-by:
email address mismatch"). The other patches in the series have the same
mismatch, from "bnxt_en: let the stack segment GSO skbs with too many
frags" through "selftests: drv-net: devmem: TX from a hugepage-backed
dmabuf".

When resending, could you add an in-body "From: Stanislav Fomichev
<sdf@fomichev.me>" line, or a Signed-off-by for the gmail address?

-- 
Sashiko AI review ยท https://netdev-ai.bots.linux.dev/sashiko/#/patchset/20261111224740.2744522-1-sdf%40fomichev.me
Technical Details
Message-ID: <179452373981.2199510.14348859011242169844@kernel.org>
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-362236-linux-kernel-netdev=dewy.ru
References: <20261111224740.2744522-3-sdf@fomichev.me>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-362236-linux-kernel-netdev=dewy.ru
From: netdev-bot+sashiko@kernel.org
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH net-next v4 2/5] net: devmem: charge the frag length to TX
 skb truesize
Date: Thu, 12 Nov 2026 22:48:59 +0000
Organization: Usenet Network
Message-ID: <179452373981.2199510.14348859011242169844@kernel.org>
References: <20261111224740.2744522-3-sdf@fomichev.me>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit
Injection-Info: usenet.network;
	logging-data="1213879"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:VgBdPhmh/SOvsnfI0qdxpkLOpQc= sha256:X7yDalv262HmMe4WGtgphmn0X1V8dySL4WCNyFH0SuM=
	sha1:+KPmM1oZIznYEeG3TbRY5CndFpw= sha256:HMHXypsKZHKrUIL7UVQFdJIqNOo9/Wf2pNJQQoUaUF8=
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 4881E1143F0; Fri, 13 Nov 2026 03:17:06 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -3.401
X-Spam-Status: No, score=-3.401 tagged_above=-9999 required=6.31
	tests=[DCC_REPUT_70_89=0.1, DKIMWL_WL_HIGH=-0.001, 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 X-_HTQYvDMZV;
	Fri, 13 Nov 2026 03:17:02 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=netdev+bounces-362236-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 5D8611143C8; Fri, 13 Nov 2026 03:16:54 +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 D192DCDEEE; Thu, 12 Nov 2026 22:49:13 +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=1794523742;
	b=AJRTEj1Olh1G9yf01q9y8M3Y0gcclsW+BE8d2cEkAzpfZhq62HBdGYAjuCJa2t64yt7r
	 FZUQYWd9pQqIVEjQS1y6hLssLMPnnw78GJN/I0dQp+ZDrX0WA/OvQTZsJR00+WqZ5LOGK
	 Gg+ptZeccC3ui8nfnLBZnf+0EIUjVTsvhrQGL1KhspH0ucYaQ4Nx1Dw/UVce55f9nnVpE
	 9iSXUxoNZf8AxBotZI9VY22p5bXYVAq/5V4MEEjg8ZIvD5y7DSbjoO7079cGvSzmPOcxU
	 2KJJUWyw5Vfs6LJ0EsXlJuQXTeMS8aHEQIvZ0ViSI382w5u5FJskWCtEt28SSARsDdQ==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1794523742;
	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=Ut1VFrY0YPVQTBxfOczSHMEdGd9VAyGuW8roa+/aAC8=;
	b=rgSIOItmy96GqHPCUf+qvBmQJUFXdVSc+jlQ06V3FVbJ8VXQhkxzZfj13krzQ9u0Zr0J
	 yfJRLwKaRPViZ0aGFI4CB1thnBfdg8Wq5nRj1R5UCUzfwzzaYBZyxdt5R/2TTGuP6Ri3i
	 Huh0u+CgBy66mixJy72vDF04MYhDZYwAXY+apkL7SB7W1hQ6n4TIt5we0K1B4JmDBVe8R
	 SGZ6MLuDIoGF16R0IVciHMGqShLGW3VJ+qHCoUZJhrwSHxglxtAtcwogVuF6nEVVsVs0s
	 ZrjIAT8E7NVPiFOPCVqqkwUVb1cxe350bcu9X9nv0MUiU8ZvgJKpOygQ24WSqMtjHJw==
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=IwWRv+ij;
	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 A61B4606A887;
	Thu, 12 Nov 2026 22:49:02 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
	dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=IwWRv+ij
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=1794523741;
	b=rvSXnfemKiuLBWvQjGJ0ubvDcJzpEMAriDQBc9WM2wZoBKx7ibC04DBMg/7pFpDLq4aF
	 lj5fg/f8d3phjOZ+z1+KGPsRyZHe6GLcwUc7y6L6tlpA1ORJBYkoP2k4sF9M+VG8uWKgb
	 60PxNqOOFexzpbQsc7iUUDYPxKw6x/fhGOQy2p8LCpn+zNoVQm88mEgYcxgz/gcWmsXRX
	 Xs8syYtO3cEsA1otljSKTl/HffPRIA443SwH7Qh/6mg4LqfpkgkMHN9r/V3p5jh0g1jCL
	 l4EwIGPg4ZtiaNPLJ54ScI8vKtuBnxeizL7sTdif2lbvorPGWSwAVfeoxd9qMqn32OQ==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1794523741;
	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=Ut1VFrY0YPVQTBxfOczSHMEdGd9VAyGuW8roa+/aAC8=;
	b=P2ywLaHJCbq4hRvCSDJWhUGfL9wyrlIocktxIu62BxQsRgmFqaWvf8JqNpsLGf31RYz6
	 TFnMr0noDyqjZMmr7qZm5OCbtAcfO/4gUrYWnqpXmapmNgLFb1T2n9ZZmzitqpw/+RpRs
	 rcNxdoN4PNFcyYQmJ18IR4DMoicC1cNoLVd6iDHuzdp91Ayog4w+aEdWu//8xk2bt8KdI
	 MXMa9z0V9WLEQAcyu+OaCUh7PaI0RVpSOG5Qio7EOiBvRYyaEAH6cK/ANa4zAjHvmL9Tg
	 uGhCJCmQwS0w8fzEUA4GVOo2i8AdyZKHqf42BmK4iM6ZxeqAhsGgdAmJbIvkS37yTtg==
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=IwWRv+ij;
	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 C5190606A337;
	Thu, 12 Nov 2026 22:49:01 +0000 (UTC)
X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id 53AA61F000C4;
	Thu, 12 Nov 2026 22:49:00 +0000 (UTC)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org;
	s=k20260515; t=1794523741;
	bh=Ut1VFrY0YPVQTBxfOczSHMEdGd9VAyGuW8roa+/aAC8=;
	h=Subject:From:To:Cc:Date:In-Reply-To:References;
	b=IwWRv+ijQ+t7Tdba5jT5qHnR6q+TPRzgi27s6dycs4VDchj/ZOEFMA2/aZymNL5ue
	 183Uh/Re9KecyGtor6mgpniRYj9KgQ+nGYs2kjI77Y5nixL1MqcanTas18IWSz+uAC
	 28V34rFvX1Jk44ur2KQ8KPRd0MAR32GqWJGT01akcfSC43nXqN7pF8t95Vv8ce+41A
	 i3O774S+Z9cuqek9Q/rLpbgoKItl+JuMvL1xY6jGbNvCciyUuTrzUJGscNO2doxiLp
	 qKsyHvcVdglnMUCGaxr9Kl3K7qsARVxOzyldCJuJoMD1XnxZa/0MLlaAxWLmtXnrJO
	 Wk9RkH8a9r3cQ==
X-Cc: netdev@vger.kernel.org, davem@davemloft.net, edumazet@google.com,
 kuba@kernel.org, pabeni@redhat.com, michael.chan@broadcom.com,
 pavan.chebbi@broadcom.com, andrew+netdev@lunn.ch, edumazet@kernel.org,
 horms@kernel.org, shuah@kernel.org, almasrymina@google.com, sdf@fomichev.me,
 leitao@debian.org, dtatulea@nvidia.com, asml.silence@gmail.com,
 bobbyeshleman@meta.com, daniel@iogearbox.net, razor@blackwall.org,
 linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org
X-In-Reply-To: <20261111224740.2744522-3-sdf@fomichev.me>
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