Article View: linux.kernel.netdev
Article #9614Re: [PATCH net] net: lan966x: don't free XDP buffers in fdma tx clear with budget 0
From: patchwork-bot+netdevbpf
Date: Mon, 02 Nov 2026 12:10
Date: Mon, 02 Nov 2026 12:10
24 lines
8841 bytes
8841 bytes
Hello:
This patch was applied to netdev/net.git (main)
by Paolo Abeni <pabeni@redhat.com>:
On Thu, 29 Oct 2026 12:47:47 +0100 you wrote:
> lan966x_fdma_tx_clear_buf() runs from the NAPI poll and frees the
> buffers of completed tx DCBs with napi_consume_skb(),
> page_pool_recycle_direct() and xdp_return_frame_bulk().
>
> netpoll calls the NAPI poll with a budget of 0 and hardirqs disabled.
> With a budget of 0, a driver cannot call any XDP or page pool API.
>
> [...]
Here is the summary with links:
- [net] net: lan966x: don't free XDP buffers in fdma tx clear with budget 0
https://git.kernel.org/netdev/net/c/263a5514cb95
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Technical Details
Message-ID:
<179362140430.3986178.8622216026383544498.git-patchwork-notify@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-354649-linux-kernel-netdev=dewy.ruReferences:
<20261029-lan966x-fdma-tx-clear-budget-v1-1-38c52d7aab8c@microchip.com>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-354649-linux-kernel-netdev=dewy.ru From: patchwork-bot+netdevbpf@kernel.org Newsgroups: linux.kernel.netdev Subject: Re: [PATCH net] net: lan966x: don't free XDP buffers in fdma tx clear with budget 0 Date: Mon, 02 Nov 2026 12:10:04 +0000 Organization: Usenet Network Message-ID: <179362140430.3986178.8622216026383544498.git-patchwork-notify@kernel.org> References: <20261029-lan966x-fdma-tx-clear-budget-v1-1-38c52d7aab8c@microchip.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Injection-Info: usenet.network; logging-data="2918038"; mail-complaints-to="abuse@usenet.network" Cancel-Lock: sha1:y6eEmOOCpqQ9HfYNEsRodsqapcU= sha256:YvazaGAaCvk0I5cokFj0b0zwtsn2PcAQ2lbZsyns3dY= sha1:A7kxzkNdEowHrOGMmv+hTLn7PAg= sha256:G422To4LrS4BiIRKVmp0Wl6cFWkTjtLVzS2YuiDtKjI= 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 348BC1124E9; Mon, 2 Nov 2026 15:19:51 +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 JSqYLP__U-0H; Mon, 2 Nov 2026 15:19:48 +0300 (MSK) X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=netdev+bounces-354649-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 AEC701124E5; Mon, 2 Nov 2026 15:19:38 +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 C30992FCAA; Mon, 2 Nov 2026 12:10:08 +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=1793621407; b=XzzE7FdOR0ey0ChFZgg5wHEukpugRH0qQ+CYyTOUyvyEeNR6yygOMiFuz+smZfJMBw70 A7oFFizQQofm1GeMd4U3Gd3UcPQH1Qphd9Z5Hp1kfZ+DNnvTqRTWEDOY1bU1hY7s6+wQx EupXb8Z6HKkuCF6LTu6SLKrVHehUavAQVqH2nxcG/hr9hMwNCy0bK7IjAgho20mUaSNCI 8wCg51waG4+WlXsIPC3WFGlgFNZhQaUrrPvpxQTFIHDL8fohlJNlDsuzkWUjiDPMnkHAu w/Un+stzWCo4eY9362NTmrLSg0N86OZSD3fVtlPcsLYtA4SbXgWnhW1eC2rV97E710w== X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1793621407; 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=BWqMIIQy5nCxgVDimM8+1fF53QLWzdY675fiHOqYMWk=; b=d7w/RRfUBN6gj8kOkFjaZuRXH0Zq6FdYP57jTOv2xKVcYsAzr3/EGwiLoW7BUgETfKXQ TnkxwoROi8OeLsikbbz08hSrzIii1ITzyFSviDwme//Saz4cS4OhZtx61nDJHb0zQJMWi tAUDE5Z6i9IBrG6pZf29CKvzTKjdJsUHfpEC4RHOlJqWSkGL/9ZEFZvyaFsp4UjPgKeBG PVH+RkUyQFXyv62AF+RyqCOg2UgtqgeeNCf9g1uKQfCPX72WaG18vAhPk8NnQDzqPJPmz s7aE6FUmogjJUYZlHshvpVlwR/iDp7z8SxKHmfCnxFcldpFFk5rQ6CHB2TNGTFX9mMQ== 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=gcUnO3oV; 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 508DB606A336; Mon, 2 Nov 2026 12:10:07 +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=gcUnO3oV 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=1793621406; b=TWK9JmmhWn5VJrok/mUJyvhrhiN0IJ6wzRnxERshy9QcWZKD6mk8j7F+oAjRGWz5WR8O 4UUC11WkIIBxJSrzV94l4a9RawuDCGXsy27snc1Nw2RJwvP+TpaDiJvCEAOeLJwKFWDS6 0xIkaHYLleLcqoXVOp1qHN6c6eteDPs1sHk0CUi8mfyz4AWPwnOPRglyIN4GzzfBBN7NK /j0ak2JiDpGvSJWHriudap+Xsofi/V0YciQdlxhRcXmXKwyIlz0WnPi3kIeRFJPmPhzX9 6NMWeY25DSuc5mJYMKK69AyAh4012iD/OyDLrHf6LI6rQpxZaGca+SvslYERpl+hCEA== X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1793621406; h=Received:DKIM-Signature:Received:Content-Type:MIME-Version: Content-Transfer-Encoding:Subject:From:Message-Id:Date:References: In-Reply-To:To:Cc; bh=BWqMIIQy5nCxgVDimM8+1fF53QLWzdY675fiHOqYMWk=; b=kVCwZD2KwbKn3Q9ArMXhjl605zsAFhGXYpUdV0MVIoLrt7g7/Tb88sJICyGcUioFPQGY lyO8W+WXTPPiRRJxXbWxIMQycPrikqJ4CbNvDMFo85NVeP239nrh62ESa8NrhP7LS1FVy uW1O/GB5J/M+HBLMlYqbAJ44U2VJQkJ+gyPEg/I6pUUOARfnNfi+Wb2Ivi7rOBbspWt7w /NZ2gexoo1UgNpzFoIS9VIpWk1ARZGvJGTGadt7LHzvkkG7eGgLJFIhFiarRxtKAcrzL6 +2o5V4Mow7PhiDjsnwAd915VVEY7n6m9VMcDE8QMP3h6+7GLIvm5RiYIv/1D8K34RcQ== 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=gcUnO3oV; 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 0E445606A326; Mon, 2 Nov 2026 12:10:05 +0000 (UTC) X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8777C1F00A17; Mon, 2 Nov 2026 12:10:05 +0000 (UTC) X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1793621405; bh=BWqMIIQy5nCxgVDimM8+1fF53QLWzdY675fiHOqYMWk=; h=Subject:From:Date:References:In-Reply-To:To:Cc; b=gcUnO3oVH2N9gg0wBtplk9X0ahHTjyHkFbEu3zV0f6yg/Jaefw7jU2um0iLwN+8R0 Fp9J5jMsAXtBo3mn7ZcDksyRAtM19b90e1KuI2Q3c7/Im8gFbgTCgW8krOAYbC3wrh laRWmcMUV3868o8uAxIAYdgflATYawmv5T78SFJ6dcAXMagcrxj42AvLEdTWx/RqAr /AnRQhYDVjiuKK+8tEw2ZSHuDa8JPCLffB087/ui0zV+34Uc1dJQSSkePW0jacKb4t qMYJ/08IedmJpsPTYPiEJp89hLAqVcRqTTDix/OTvUXSlu1Yl+P+7b0fDdHFbygY39 BUgTJnaU6YZXw== 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 7D212380821F; Mon, 2 Nov 2026 12:10: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: <20261029-lan966x-fdma-tx-clear-budget-v1-1-38c52d7aab8c@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, ast@kernel.org, daniel@iogearbox.net, hawk@kernel.org, john.fastabend@gmail.com, sdf@fomichev.me, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, bpf@vger.kernel.org