🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #22489

Re: [PATCH net-next 1/2] net: ti: icssg-prueth: Add multi-flow RX support with per-flow NAPI

#22489
From: Simon Horman
Date: Wed, 25 Nov 2026 12:11
57 lines
11190 bytes
On Sun, Nov 22, 2026 at 07:01:04PM +0000, netdev-bot+sashiko@kernel.org wrote:
> Thank you for your contribution! Sashiko AI review found 19 potential
> issue(s) to consider.
> 
> Critical: 2 · High: 1 · Medium: 12 · Low: 4
> 
> 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).
> 
> - [Critical] SR1 data RX path is out of bounds.
> - [Critical] SR1 management-channel buffers get invalid DMA addresses.
> - [High] On a running interface, a failed XSK enable/disable leaves the
>   flow half torn down, and the next ndo_stop then hangs or the driver…
> - [Medium] Multi-flow RX does not work on AM65x SR2 ('ti,am654-icssg-
>   prueth'), which uses NAVSS UDMA rather than PKTDMA, but the driver…
> - [Medium] SR1 management-channel teardown is incomplete compared with
>   before the patch.
> - [Medium] Misplaced error label in SR1 emac_ndo_open().
> - [Medium] An AF_XDP pool bound while the interface is down silently
>   stops working after ndo_open.
> - [Medium] All flows share one desc_pool, and the XSK runtime refill
>   budget comes from the pool-wide free count, which other CPUs change…
> - [Medium] The SR1 data-flow page pool is never destroyed.
> - [Medium] SR1 now gets an RX coalescing hrtimer but never cancels it.
> - [Medium] prueth_xsk_pool_disable() can return an uninitialised value.
> - [Medium] On a running interface, XSK enable/disable now reconfigures a
>   single flow while the shared UDMA RX channel stays enabled.
> - [Medium] Racy irq_disabled handling in prueth_destroy_rxq() and the
>   prueth_create_rxq() error path.
> - [Medium] RX drop and error counters can lose updates now that RX runs
>   in several NAPIs at once.
> - [Medium] A coalesce setting is not applied to RX flows added later.
> - [Low] The ethtool channel range does not match what SR1 implements.
> - [Low] In the SR1 mgm flow setup in emac_ndo_open(), the IRQ check is
>   wrong for the signed field.
> - [Low] Leftover field and mixed-in cleanups.
> - [Low] net: ti: icssg: missing skb_record_rx_queue() in RX packet paths

This is quite a list of issues. And I would appreciate if you could
respond to them as requested above. For patch 1/2, the four that look most
likely to require a respin are:

  - [Critical] SR1 data RX path is out of bounds.
  - [Critical] SR1 management-channel buffers get invalid DMA addresses.
  - [High] On a running interface, a failed XSK enable/disable leaves the
    flow half torn down, and the next ndo_stop then hangs or the driver...
  - [Medium] Multi-flow RX does not work on AM65x SR2 ('ti,am654-icssg-
    prueth'), which uses NAVSS UDMA rather than PKTDMA, but the driver...

Patch 2/2 likely needs attention as well, but I have not reviewed it.

-- 
pw-bot: changes-requested
Technical Details
Message-ID: <20261125121153.GU31322@horms.kernel.org>
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!newsfeed.bofh.team!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-371297-linux-kernel-netdev=dewy.ru
References: <20261118184729.2302130-2-m-malladi@ti.com> <179537406410.3135.5804903978186343042@kernel.org>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!newsfeed.bofh.team!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-371297-linux-kernel-netdev=dewy.ru
From: horms@kernel.org (Simon Horman)
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH net-next 1/2] net: ti: icssg-prueth: Add multi-flow RX
 support with per-flow NAPI
Date: Wed, 25 Nov 2026 12:11:53 +0000
Organization: Usenet Network
Message-ID: <20261125121153.GU31322@horms.kernel.org>
References: <20261118184729.2302130-2-m-malladi@ti.com>
 <179537406410.3135.5804903978186343042@kernel.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Injection-Info: usenet.network;
	logging-data="201034"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:8efBntFXNCn8iq9qNGDDKPPn36c= sha256:iB4IjDwqoO9rbyuf+76cxe4u/5AB+IjB+i9f2OJuFn4=
	sha1:DaCL7SxYesXCtIcqhUVwYW8ODxY= sha256:CL0HLOtM0HNvIUmK7vzvEBSiT00uxaZYcJKMXs+aX6Q=
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 7A1CD125E62; Wed, 25 Nov 2026 15:12:23 +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 dMu7ejfMP8oN;
	Wed, 25 Nov 2026 15:12:20 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.105.105.114; helo=tor.lore.kernel.org; envelope-from=netdev+bounces-371297-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 tor.lore.kernel.org (tor.lore.kernel.org [172.105.105.114])
	by mail.dewy.ru (Postfix) with ESMTPS id 2A91B125E57; Wed, 25 Nov 2026 15:12:11 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92])
	by tor.lore.kernel.org (Postfix) with ESMTP id A40D329D7D; Wed, 25 Nov 2026 12:12:07 +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=1795608726;
	b=TdFevwSMVK/aMDrOTNgyNVM2itrn7A2s/yeCOpt4lIdOa1U7gHPg18fB3yNoGWmpA+xu
	 qP7KUDViSNU4tM34gOXBYoOoQlTXQE2z91m5gxenCkvOvMM3Ze2HzSa7CooMRAr5SmFyJ
	 6vxBTnomjjnQ+xkrsoBl0uMZGTNPmwkxXjYur/UN4Vp8VEvao2N+xjGj/f7+4URPRJ0RV
	 2sWmKAiBiiL+OZpmmI1vACs0u2mB3L6tA1guDYDglfdKt7WiFqSq1+N7IUEagL9wzVFd+
	 p1e7F4JR/X0UE7KnAkI0t+lpD+SdQNXv76ZcEM4ChgehTHfE2H89JHyqMPFM4CrHGkQ==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1795608726;
	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=zoIAFYAcrw2In7mPsz0I79pd13SW8TJXMyFwyHpwC1k=;
	b=Racv4Kd3R84Q//RGu2bGehve4sQM5AYHHLil30ix8MUVTOUFevqMx2ptStgzP0h3PSO6
	 5qWYF1lhQ2Rh7kwovc4XEPMfErMirBRWERgq8ZntUH83xbcEb8B3Sux58WIldFB7av2uS
	 5Xg6iH6JwNcLXMoAqhYYOO9xFrDm8kazUF0WrA8z47UFEWFrphu5gW8emcM2s0+HVDSSY
	 Cs5yqAs7MttqF4dOXAvxfSOA+IWxDT4LpiCtx5t+Bny91hLoOzfCPFAf5AyJcEe1G4BRd
	 0HPrB8Ivif9Sah30JKn4kKmUIuorIX/6h4YnELvinnDlgHcXOVsdwbqpHgTBMCJc5Fw==
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=UDXyQVo9;
	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 8D7F3606A337;
	Wed, 25 Nov 2026 12:12:06 +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=UDXyQVo9
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=1795608720;
	b=oIbXqyAoaWojZdJS/OwLGPtx2n6qVlm7bQ1vX2/K2U/uABAYmr5twF/AOfqs5OxAoCgS
	 V/KYy/6CrFD5uQpjTizMlbwbe3Yux5R1qS9gsz9i8UhjTtVaaTzSvYqxWBSF9Zng6Ky/a
	 aDAwYDhI78jYdkKSKT2vRkj82bM7cg91u1roXlC9VubKRIeuA21qYCMWL05hpzNeSKigk
	 zIiCL+GdY9hwYv5WoIO2tz4osYbpWlTSs9k9DLYnuPj1/tNZ+sgDanKFvBGnVn4QoWyjy
	 TUEf8vZ7ilh0eiSQcKmnxnu/OFbmFzwGRpkYz3/c9pSCt+HdCA+QcNB+ZxKKBEtGhaw==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1795608720;
	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=zoIAFYAcrw2In7mPsz0I79pd13SW8TJXMyFwyHpwC1k=;
	b=4UBmW+lVZSsM7Zol7m6Ahlotz3ChODw959qPjWytFH8dsvVEfeSvKe2kitCfFHZ3uZiR
	 PIHbt4AD7Z2unRlq5H91N11Ljk3P4xBkQcARCRTJd+48BoarRL0BLMaNyTeAu+k53Ca8b
	 zVA/LMm3s46p2+SlN11XPY2vVx2UydZjtUw7liA4bQ9PvAe9xkw/5FREVB8SubYQstw+m
	 zFWsKHhfQfQ3fAOvTWqaknqkQpL+NJoY/4dSzNrxSQU0YHQeJUCp+73hDvbzM+xElVi/d
	 FblsIzDcqontQh8aSnyyTD1EkD/b25QvQqGFmpuhKBJ9mxP0rWHGgu33XfKvCekBtoQ==
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=UDXyQVo9;
	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 A99CE606A31E;
	Wed, 25 Nov 2026 12:12:00 +0000 (UTC)
X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id CE2691F000CA;
	Wed, 25 Nov 2026 12:11:55 +0000 (UTC)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org;
	s=k20260515; t=1795608720;
	bh=zoIAFYAcrw2In7mPsz0I79pd13SW8TJXMyFwyHpwC1k=;
	h=Date:From:To:Cc:Subject:References:In-Reply-To;
	b=UDXyQVo9ECntjvpQbMJ/hC9fIhbVdR2aq4mM07ICQmsBluEJnMw5Ew6ycPsnPcXgN
	 NSnZ4LttzwNCF1DLgS0McSQRLtvQNhEzNGSnNHLG+BgTcnVqxQJOcYZq1ZNhpjwAOr
	 MK2gVwEXQyqOcgotezSvv4KSlBUnBdwn3K3/EtmDeyrXO4xqs+YFWmsjdhambuX9er
	 ikcTTeaXXypizqg0q02qJ9ssWdRN8Pt2dc06DXLDy+5vpiUzHAutcK2pK5wA+5OZ29
	 j9QCRqj4Qyp7IJZCUUd3iVqz7ichk2hcGRiOzEYJl1LikyJGa03l4rYeMuEu4CwvP3
	 l1+KJWq8amdPQ==
X-Cc: m-malladi@ti.com, marco.crivellari@suse.com, kees+treewide@kernel.org,
	laixiangwu@cmss.chinamobile.com, philippe.schenker@impulsing.ch,
	haokexin@gmail.com, devnexen@gmail.com, jacob.e.keller@intel.com,
	sdf@fomichev.me, john.fastabend@gmail.com, hawk@kernel.org,
	daniel@iogearbox.net, ast@kernel.org, pabeni@redhat.com,
	kuba@kernel.org, edumazet@kernel.org, davem@davemloft.net,
	andrew+netdev@lunn.ch, bpf@vger.kernel.org,
	linux-kernel@vger.kernel.org, netdev@vger.kernel.org,
	linux-arm-kernel@lists.infradead.org, srk@ti.com, vigneshr@ti.com,
	danishanwar@ti.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: <179537406410.3135.5804903978186343042@kernel.org>