🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #19103

Re: [PATCH net-next] net: lan966x: free the RX pages when the TX allocation fails

#19103
From: patchwork-bot+netdevbpf
Date: Thu, 19 Nov 2026 10:40
25 lines
8797 bytes
Hello:

This patch was applied to netdev/net-next.git (main)
by Paolo Abeni <pabeni@redhat.com>:

On Tue, 17 Nov 2026 13:49:50 +0100 you wrote:
> lan966x_fdma_init() allocates the RX ring and fills its DCBs with pages
> from the RX page pool, then allocates the TX ring. If the TX allocation
> fails, the error path frees the RX ring and destroys the page pool, but
> does not return the pages to the pool first.
> 
> The pool then never finishes its shutdown, and page_pool_release_retry()
> keeps warning about the pages still in flight.
> 
> [...]

Here is the summary with links:
  - [net-next] net: lan966x: free the RX pages when the TX allocation fails
    https://git.kernel.org/netdev/net-next/c/ac9dfaeb9cd9

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Technical Details
Message-ID: <179508480455.3007189.2973939300732086595.git-patchwork-notify@kernel.org>
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!news-ams.pugleaf.net!srl.newsdeef.eu!newsfeed.bofh.team!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-366947-linux-kernel-netdev=dewy.ru
References: <20261117-lan966x-rx-pages-tx-alloc-fail-v1-1-13f310d66650@microchip.com>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!news-ams.pugleaf.net!srl.newsdeef.eu!newsfeed.bofh.team!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-366947-linux-kernel-netdev=dewy.ru
From: patchwork-bot+netdevbpf@kernel.org
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH net-next] net: lan966x: free the RX pages when the TX
 allocation fails
Date: Thu, 19 Nov 2026 10:40:04 +0000
Organization: Usenet Network
Message-ID: <179508480455.3007189.2973939300732086595.git-patchwork-notify@kernel.org>
References: <20261117-lan966x-rx-pages-tx-alloc-fail-v1-1-13f310d66650@microchip.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit
Injection-Info: usenet.network;
	logging-data="2850823"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:0Y/eR1jvZHyUeASrKceVVDnetY0= sha256:fEEUw5XsYpqEsW/zmQMReSM+c7GLIFDXfC0q/pPwEtc=
	sha1:688wPyfVwGng9Nc5N1RjybidB38= sha256:4xSy/NCEnvsW1PQWg4+yF3Ry0C1og8z3GE+xcbEtWCY=
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 C7F4D1155C2; Thu, 19 Nov 2026 13:40:38 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -3.501
X-Spam-Status: No, score=-3.501 tagged_above=-9999 required=6.31
	tests=[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 4uDWjSk0Xlu8;
	Thu, 19 Nov 2026 13:40:25 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=netdev+bounces-366947-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 6D336115558; Thu, 19 Nov 2026 13:40:16 +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 CEEC726491C; Thu, 19 Nov 2026 10:40: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=1795084811;
	b=NaokbpJ+ZaLRPQopQQTlTy/hzt62kD/V2k8yrYwIoDs2FfSjDXncRwE5jdKHMZXcBOfA
	 HX8ZQOIrpmcekU9GC15OtppIZ/ybdMKYZ4znUjucIyUF2OP9beHFJtEhUPjen1aLEB0iF
	 RIZ4NMgoiFo5Jbl6vzH4MMiw/rcXuPqqAL58K+hbJ2vYrORuUuwiYwLGgBo1/yTfOZe2v
	 Zpxc/LnIMuZugXFZmQRrRJGytVAXAbnbuPCRoqh9rrdriI7aPZEh/xqlWxDyAissyjSl8
	 ln6F4NAVnJnUFJyjT1IqOVRL3eX2C1S8sXs91vZ9X8qBIGOsFVSw/ocVYJYGuPXTWRA==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1795084811;
	h=X-Original-To:Received:Received:DKIM-Signature:Received:Content-Type:
	 X-Mailing-List:List-Id:List-Post:List-Help:List-Subscribe:
	 List-Unsubscribe:List-Owner:Precedence:MIME-Version:
	 Content-Transfer-Encoding:Subject:From:Message-Id:Date:References:
	 In-Reply-To:To:Cc;
	bh=qClnFdnIXSv8ggcYjhcg5SqRGLbJLXAeg3zpZ6bzI98=;
	b=huoy/hf3pM8odg0FTm6szkAqRkTH8w1xN23SGFnNTgxihb6GJz4oVfcDfJ3b05tYQd0D
	 gVYIiiqvHiwxnIBgh0golzGyf46feAMEG2jvFwsFtB4IcWl9ytFTAnu7Jj3F97TYnE+Gc
	 61cPtq8cFaxYxcV1epqYJkY10wlP2kqsjmW54S9PsnqvE/N/c39Ac8pb2PA4wfx2j0NDY
	 3q+UomBfyop7a+CWZAW2kDfFSDY97i4gBFNkp9itvuSFR67e3taUanpK3HfXl79UfY5dU
	 DyqZP38kfunH324DVf0kgpNYqp52hkse8QGH1UQV9dbIiSHE4AeuZDdjk1QbmKBU/8w==
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=YpD3yaXi;
	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 C57DD606A326;
	Thu, 19 Nov 2026 10:40:11 +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=YpD3yaXi
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=1795084806;
	b=FB4XfqawK2QkJsq48CX4hOy8xHbobrql1ogKRPJgC5RhT9x+RNgn8RaG2hpPzH4MDR9D
	 Cnwn39kjxc7UIK8hgaHzIqJdHWgyieJpEw+M8HZEyAmsvFL8oWRsYQHUEqKee5pd0uh8d
	 enU/gH4W2aOqUAAGKWrE9zTcZvzARUsuZ7kE9lPFuqwJDEYGuKJWefthUfZ/74LcxhKUZ
	 diCGcg5urNAmHy7C78XWJdT5vGfuFxNjHCEM0osl2AGw7lWclbBWtQgL83txFJovBKpu6
	 ZLU0QuJff3g5vwlfQ6ONhgBFwfPDWNNz6pZrid6x4ktTr1GT4rkP+PxOiOWWWgQSyCQ==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1795084806;
	h=Received:DKIM-Signature:Received:Content-Type:MIME-Version:
	 Content-Transfer-Encoding:Subject:From:Message-Id:Date:References:
	 In-Reply-To:To:Cc;
	bh=qClnFdnIXSv8ggcYjhcg5SqRGLbJLXAeg3zpZ6bzI98=;
	b=b7I6zgs9wjX69OsGOTl5OBbPhKz8goAnG/XbDGWCt9dX4UMvouBDA239iO1HG/SISiHZ
	 xEwNIxOtb1zE3oe0sQbHWuoc3vA0XqcoWY956MX4VqLzv9ZXnqstO3uBYcIn5GHRYoGDa
	 eumPzglKHxS/pRdQHPSEtxdOjVxjuxcDTYMu+xhmvgbUULvRo1br69qfnniBsMb3f5JV3
	 xOkD4Thd7eXEWxIIHk6kvA0TXPsWchrCe6DcFLAmNkEgjPk/5GpJoh9hk2+730oAoqLcE
	 B9lei/3oydOSQP8Jwb856eCw6ANKOsaZVWxNCHQALafwTpmIr/ZPLwLEv0NrkZtubsA==
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=YpD3yaXi;
	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 E1FEC606A330;
	Thu, 19 Nov 2026 10:40:05 +0000 (UTC)
X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id BC5881F000C5;
	Thu, 19 Nov 2026 10:40:05 +0000 (UTC)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org;
	s=k20260515; t=1795084805;
	bh=qClnFdnIXSv8ggcYjhcg5SqRGLbJLXAeg3zpZ6bzI98=;
	h=Subject:From:Date:References:In-Reply-To:To:Cc;
	b=YpD3yaXiafw2NODmK/mVXqJN/2d1r6ih99n8fboKSENc6ougLlZj51EfA0H/mzTkf
	 EhxAqzQ/E3QLIMnwC/XtVLMjRPRYvz1IHGQS4UEiN0J+4clxYWY1VMgfgm6H7auyhl
	 XsHI/G96EkhIzHNp2EfXWcdMV2bAM8tuatdJlI7a8WObn5Xbb9TrJrUeSbp1mYG1hi
	 8zJCH6/bbAispAP7f5USYSQ9w00Ptf24/kRg71TgStnxsdW98wKv9D0sk4kCP8qcM6
	 SgbECPuOFFbWDO/IKXiIc/jUIX70iaI6/AdARuSOT1ZxnSJCEA5yYLb7+mUSgTvXMn
	 T871tIu2f0DRw==
X-Received: from [10.30.226.235] (localhost [IPv6:::1])
	by aws-us-west-2-korg-oddjob-rhel9-1.codeaurora.org (Postfix) with ESMTP id B451C3808210;
	Thu, 19 Nov 2026 10:40:05 +0000 (UTC)
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:  <20261117-lan966x-rx-pages-tx-alloc-fail-v1-1-13f310d66650@microchip.com>
X-Cc: horatiu.vultur@microchip.com, UNGLinuxDriver@microchip.com,
 andrew+netdev@lunn.ch, davem@davemloft.net, edumazet@kernel.org,
 kuba@kernel.org, pabeni@redhat.com, netdev@vger.kernel.org,
 linux-kernel@vger.kernel.org