๐Ÿš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #26437

Re: [PATCH net-next v2] net: xilinx: axienet: Derive RX frame length from residue in dmaengine path

#26437
From: Simon Horman
Date: Thu, 03 Dec 2026 14:48
25 lines
8882 bytes
On Tue, Nov 24, 2026 at 04:46:16PM +0000, netdev-bot+sashiko@kernel.org wrote:
> Thank you for your contribution! Sashiko AI review found 3 potential
> issue(s) to consider.
> 
> Critical: 0 ยท High: 0 ยท Medium: 2 ยท Low: 1
> 
> If you believe none of the issues are legitimate, please reply to each
> issue of Medium severity or higher and explain why the AI is wrong.
> If any of them are legitimate and you plan to respin, please let patchwork
> know by including "pw-bot: cr" as a separate line at the end of your reply
> (one such reply per series is enough).
> 
> - [Medium] The commit message says the residue-based length is "correct
>   across all designs, including multi-descriptor frames".
> - [Medium] The commit message says that summing the residue over the
>   chain gives the correct length for multi-descriptor frames.
> - [Low] This patch fixes a real, user-visible RX failure in the dmaengine
>   path of axienet_dma_rx_cb()โ€ฆ

These do look like legitimate concerns.
Please take a look.

-- 
pw-bot: changes-requested
Technical Details
Message-ID: <20261203144857.GA154626@horms.kernel.org>
Path: mbox-mo1.pugleaf.net!news-can.pugleaf.net!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-376678-linux-kernel-netdev=dewy.ru
References: <20261123164251.48234-1-srinivas.neeli@amd.com> <179553877690.3135.3125454257939180385@kernel.org>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-can.pugleaf.net!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-376678-linux-kernel-netdev=dewy.ru
From: horms@kernel.org (Simon Horman)
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH net-next v2] net: xilinx: axienet: Derive RX frame length
 from residue in dmaengine path
Date: Thu, 3 Dec 2026 14:48:57 +0000
Organization: Usenet Network
Message-ID: <20261203144857.GA154626@horms.kernel.org>
References: <20261123164251.48234-1-srinivas.neeli@amd.com>
 <179553877690.3135.3125454257939180385@kernel.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Injection-Info: usenet.network;
	logging-data="2517938"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:2TUEthU6URrim0VtL8ZTVJziWe0= sha256:rPCuv0vNehOqU4tJtFS36qnm9hDXMC7tXvwC/l4Qjtg=
	sha1:x0F1vwKjSb5wEeYb3Ls+/2ip25w= sha256:sOxdvOTXS1Gf31kRYBLN6XgcAa2rjZjwOERJNJr1vAA=
Content-Disposition: inline
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 D4E9811798F; Thu,  3 Dec 2026 17:49:18 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -3.74
X-Spam-Status: No, score=-3.74 tagged_above=-9999 required=6.31
	tests=[DKIMWL_WL_HIGH=-0.24, 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 nc5TDTuVxjES;
	Thu,  3 Dec 2026 17:49:16 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.232.135.74; helo=sto.lore.kernel.org; envelope-from=netdev+bounces-376678-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 sto.lore.kernel.org (sto.lore.kernel.org [172.232.135.74])
	by mail.dewy.ru (Postfix) with ESMTPS id 0D83D117970; Thu,  3 Dec 2026 17:49:07 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92])
	by sto.lore.kernel.org (Postfix) with ESMTP id C1B5C6020F8; Thu,  3 Dec 2026 14:49:06 +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=1796309344;
	b=v1CEyljNTcBdB4PK4xjbRMf4qRNN08rcbZL5FgUvbN6s3Cb2mSFIFSSWXTIjUVn5W+vi
	 3NcI2zNYLDelPPeqHLgzMW+5/GGBTeu/Q47dJOGGm0ia3AUJxh4azRRaYiTtBlAwJxHO0
	 HnOth6zz9P9SLljPBb7GRpMWIS85hIbT1MGoMbfsAQcUVrxltAavGLYpeo3MakE7mPcgo
	 WuLINdpjrS6CL6uLPCxICWVA74SSiOhskjK/wwE6uX+pg+Mvnj36KSDFVStputb9OBaT6
	 DlT20a2nxArZ/Q6x+1f5HBMf2F7cB7I9LUvT2u9HGtnB3c78dtBE4i095HxfMOY1VTQ==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1796309344;
	h=X-Original-To:Received:Received:DKIM-Signature:Date:From:To:Cc:
	 Subject:Message-ID:References:X-Mailing-List:List-Id:List-Post:
	 List-Help:List-Subscribe:List-Unsubscribe:List-Owner:Precedence:
	 MIME-Version:Content-Type:Content-Disposition:
	 Content-Transfer-Encoding:In-Reply-To;
	bh=QTqIe0vOKWiYu3cd8HNTcXvHyrBdYCVhlmRkfB5e5vc=;
	b=B5q6Th6AK/RTsVkaIycR4Ce6wVme+AbNaeulGRrFXarMmmSlIUuUXW+3ThG5TvDFN7HD
	 XK4odGhqPjFJHthCsEXWUoOmoj+pV9TrjaQyu6mEivttxPJ17gC6RC1f+h04BgVAEUODx
	 31prFemLQawZtfT8DJGXXYv2lXQSH96b5RdTs4NOjXzv+unRaiZ21AX13lgM7tyTFS0A4
	 ZXFPCdUn8i/GbcdINsIUF+rWj3UIfyfd65+4LnXhVDdc8ypxBWoaVyV+OEKRHdwvlmj2y
	 Ws9pHtvuXlLCYLhBvZ1Iyc6zUvy96yoAOEmUK9S9ohufqWMOKAFy28TNQcSj3LucDHA==
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=lmq8MnCl;
	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 A0BFB606A33A;
	Thu,  3 Dec 2026 14:49:04 +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=lmq8MnCl
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=1796309343;
	b=EPrmjv28sXH3nT4+adBMOKmDdf64SD/2Rh2XBrynL6DAH26SHpHVprNjfnOoeMvwQeJL
	 Dijje1Pk+Rb8OQgNDj1gxUFosUAwpUzZ77qGB3R89C4ud5x25bvyG8XGdJlmcdznlIiSk
	 XhawoFjraPo2ErrzOYzPZKN5T2Jfr90gaJYdfxGs1qrtqA6cBJlYS8OOFsIUQeBEgOfAs
	 e49CbPnGyZpIw7bsW07DhrF7Ty8W/4MMjix/bXYxwU7L0FWtPjCLZIBkvg9TmQXLRkA2N
	 Q5IGxmIBbPREpAOca5KvKZouKZtqXhlFAlrs1kF7RrkiV7PLFQXkU40UqJiJZGbG9tw==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1796309343;
	h=Received:DKIM-Signature:Date:From:To:Cc:Subject:Message-ID:
	 References:MIME-Version:Content-Type:Content-Disposition:
	 Content-Transfer-Encoding:In-Reply-To;
	bh=QTqIe0vOKWiYu3cd8HNTcXvHyrBdYCVhlmRkfB5e5vc=;
	b=ovQiNm3dbHvX67PQj31boKEWtNSdWeh+Nx5sd/yVs3FS85Dyqn7zUc/CAh47lvE50ZnO
	 TlZuzDhkoWDjI4O9DU18i41bTxqyNl33BGlD2igE/7P++nMlxuiP1T4FZLQrrzDWBf9vO
	 SK1wOQp1EQq3a407hgaPw01pKMs7i/iVKD5leIZ87Cyw+J/9MwM7QXJvd8atY6vg2n1jK
	 2YJNrCo/btXznGK33TsEidxkuJslBgQtrCzWBmr1hdJBz0tL/0/1QtjpECtr+5PKx/4n6
	 yN5GfVRFTNHiBeNX/eEA0HMIAx46GW+U/f/6iDUBpoltuqCmllTZofHQOWpNLtX8L1A==
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=lmq8MnCl;
	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 BD45B606A32C;
	Thu,  3 Dec 2026 14:49:03 +0000 (UTC)
X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id BFF3E1F00893;
	Thu,  3 Dec 2026 14:49:00 +0000 (UTC)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org;
	s=k20260515; t=1796309343;
	bh=QTqIe0vOKWiYu3cd8HNTcXvHyrBdYCVhlmRkfB5e5vc=;
	h=Date:From:To:Cc:Subject:References:In-Reply-To;
	b=lmq8MnClczoPxf5Gin8nn3ZqiMMsmhoEUr3s2BOm1pRuaY/ngfDuQ6TYLdfe0cJh3
	 A3ikerUcsqXrkTNNNI6FvGZyh59OwnS2hHBjVphZb5EBmA/El33MlqsvrdpWhNHE+b
	 p4TJwWRvFT54VqEJoyMl3wjYl3EGN3JpvuyCxSXP2EkCGM329F0XoA6NEHMenzAU1o
	 2RzS+dMkzKCrgLSmNlySIyTLoKzyLMHpKv8smIU/O6wlB5uWnasnDVQ2BEk1lZD51/
	 1+6EzKadkF6CmYVrniV1WhXSO4haR1E5t1JOWwHbBK4GqMlAphFopnuI0EELX+wPf0
	 xV0YgHb7cww8Q==
X-Cc: srinivas.neeli@amd.com, radhey.shyam.pandey@amd.com,
	andrew+netdev@lunn.ch, davem@davemloft.net, edumazet@kernel.org,
	kuba@kernel.org, pabeni@redhat.com, michal.simek@amd.com,
	netdev@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
	linux-kernel@vger.kernel.org, git@amd.com
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
X-In-Reply-To: <179553877690.3135.3125454257939180385@kernel.org>