Article View: linux.kernel.netdev
Article #8060Re: [PATCH net] net: lan966x: don't disable hardirqs in fdma tx clear path
From: patchwork-bot+netdevbpf
Date: Tue, 27 Oct 2026 23:10
Date: Tue, 27 Oct 2026 23:10
28 lines
9046 bytes
9046 bytes
Hello:
This patch was applied to netdev/net.git (main)
by Jakub Kicinski <kuba@kernel.org>:
On Mon, 26 Oct 2026 14:45:58 +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(), under
> lan966x->tx_lock.
>
> Before this patch, the lock is taken with spin_lock_irqsave(), so the
> buffers are freed with hardirqs disabled. RX skbs are marked for
> page_pool recycling, so when such an skb is forwarded back out and its
> tx completion frees it here, the free path reaches __page_pool_put_page(),
> which warns via lockdep_assert_no_hardirq().
>
> [...]
Here is the summary with links:
- [net] net: lan966x: don't disable hardirqs in fdma tx clear path
https://git.kernel.org/netdev/net/c/b2e17432e7ee
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Technical Details
Message-ID:
<179314260557.383254.3851394909135159768.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-352654-linux-kernel-netdev=dewy.ruReferences:
<20261026-lan966x-fdma-tx-clear-hardirq-v1-1-5f70f026a2e4@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-352654-linux-kernel-netdev=dewy.ru From: patchwork-bot+netdevbpf@kernel.org Newsgroups: linux.kernel.netdev Subject: Re: [PATCH net] net: lan966x: don't disable hardirqs in fdma tx clear path Date: Tue, 27 Oct 2026 23:10:05 +0000 Organization: Usenet Network Message-ID: <179314260557.383254.3851394909135159768.git-patchwork-notify@kernel.org> References: <20261026-lan966x-fdma-tx-clear-hardirq-v1-1-5f70f026a2e4@microchip.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Injection-Info: usenet.network; logging-data="1655545"; mail-complaints-to="abuse@usenet.network" Cancel-Lock: sha1:MZuW1IiOqA9vtNfV1HY1aUHXzNo= sha256:FuU/l7TjL1SiCN/DhlaBoEZo+FQKLvzWcPM0xsvVIUM= sha1:x9X7L3hqfExBDLbwuKvcFAYMWaI= sha256:SrS1OdnS3s4H6yQ63TwDMgpXdNbdps4HOjwzR64tvic= 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 2DF43125C29; Wed, 28 Oct 2026 02:10:50 +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 NfZjY-Ygy51g; Wed, 28 Oct 2026 02:10:43 +0300 (MSK) X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=104.64.211.4; helo=sin.lore.kernel.org; envelope-from=netdev+bounces-352654-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 sin.lore.kernel.org (sin.lore.kernel.org [104.64.211.4]) by mail.dewy.ru (Postfix) with ESMTPS id A0321125C1D; Wed, 28 Oct 2026 02:10:33 +0300 (MSK) X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92]) by sin.lore.kernel.org (Postfix) with ESMTP id 15B2224C41; Tue, 27 Oct 2026 23:10:11 +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=1793142608; b=D4KTSD951flyTb+tT1egHm6hpoSosDFO9w313B9O9embowH3B2B4scDTljhzgXdgsrEU DgdSaRQKrnNR7LdAxPh4TtC7fu3s32wz+36gbVfrEwYowIO0MSjRZk/oWKTsSZEwLZWWO QT1z7twFApm6YDCXJYrVRCdWYzC0d61Ye9SYlay2ZhiG+2uSZMqV2aUbqAl51IkIl5It7 MuYd2fJC0zCFxEEjyHZS+ov9IdWxTRXWrN9lbBYnxih1GIy3gBwr3bOWUDxSU7k/Edcx/ iyDyDIYSSdYUMbSS0X4vdykDlv+et+O+romGY8YA1KcHIq5BiyiRaETtIxI+0atI6Tg== X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1793142608; 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=JeKGnijomadQzdHHJok2RAUaAIDhnUbgHxZOYPiyzzo=; b=ry6orKi4Uday1I75vygot3IM6M6tzzfCT0dyp1NS7aCF7wV1Q0Elt2w9BayeWp++Me6j BhegjS2WtumzgExxbDQNuS0gjE3MmfvGKJcp5RhpTBCJ2hQY/xjkVLtMl1ev0GmjlS5AE ASKE9RT+cLWlGfbfuuP8MEvDpnFfAEl0qgEFWPa6DKWLoy21AITthWPtMvFJsxRS9HKOY wulhARQU65pJW8vpJReXyUMuDAK2uhGSRRDt3tEX5hg3JYGWLzC57v+7KFuHF8G/eTP7/ u1n5detsgsaB6iGLj3Ots/6dypBRY5p+cgA/0BLGwkG2MsliGFPAZ/vf54ZcSqxzKjg== 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=mheR8DDB; 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 51878606A327; Tue, 27 Oct 2026 23:10:08 +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=mheR8DDB 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=1793142607; b=K+PXdxAIM10KPjBlAHWuugANaFPtt3d5fS7xa5/kG75ItMYxBLwuSfzJmesNaOhPBg5b W2CYRNRB2yDhveaBz7sRTFpmRgxq01mw6rrbCYvelrJwHR4wvCkUyasdlk52c3snguAdh iDg4ZPDE0sMgBcz70aunrcB8y4qvljeUEuFu+4U89EgshyxFFyMYm+ywW/4fCj9mapOf9 +7HdZzYqzOSHo/3qv2YiGEmWajLEI4fxsn6Vak6MBFK942d0AxGTj61/4pr8i324zk+Ls B1i9JrMpzNTqafEGyzNcXyAs+agGAMBP809xX1CArAk8HDPErMIceqx+FKdkeEAIClQ== X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1793142607; h=Received:DKIM-Signature:Received:Content-Type:MIME-Version: Content-Transfer-Encoding:Subject:From:Message-Id:Date:References: In-Reply-To:To:Cc; bh=JeKGnijomadQzdHHJok2RAUaAIDhnUbgHxZOYPiyzzo=; b=3DfX90cmr416tkiR5bK597sYEnZTi8gra9J8uLsGDgSwQrarYNrMjAh48ztb9yYAQ7mw DZkK+3oGpezzaTpRWxVkMAdWCgkDZqNEd0lQq86V+8Wr/FziKOcrJajj+Ueax1DJrGfHy i/UZT03PDm1UMXufY3JWmNPp9BuJ8sxqjNJN6tlp6saoA+j8x34teowtvnMe9yiy9TZEZ 3pVsl27u5NKRNrsjWo365uIwaRXxva9IDwbsiKIutT7ZIb8r525QGFICmv2vIugznB9r3 ZL/AUgR5RwxmKbhoZG30+lnx/IDTsbvXlO/2e1N3zytK+WD+nH+2er1w9MWGH9290uA== 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=mheR8DDB; 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 02349606A31A; Tue, 27 Oct 2026 23:10:06 +0000 (UTC) X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id C7D921F01825; Tue, 27 Oct 2026 23:10:06 +0000 (UTC) X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1793142606; bh=JeKGnijomadQzdHHJok2RAUaAIDhnUbgHxZOYPiyzzo=; h=Subject:From:Date:References:In-Reply-To:To:Cc; b=mheR8DDBbze8gcXBj2XRoORCifxerjUvp9dvzHkJERkVbsQmnSNID0Nfjbo2eGURG w+b1QCw2FRa3bj5mWmBM0vlFoIFBequeet/eguIDPkpylPbEEtOy+++KozeIIU17el VniP+XzIdd6Li81b17eLMDRyUA9iIsNvuY6Q5fQRib5ioWZ5bdFiS526mIxZkAmpMF mq8q3tW/Y/U5eyvY2K6eCwhAnXQt3+5JniY31augiUspkdWfRRK9rNY2WFQZ3cZQFr fuszAAVZusPqBQ8Ewx6XFC3Rxi82YK6j2KM4rK7VBUvunIP5Cu8mgpUfKSZyutEjM+ very1xVg4xJsw== 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 BE57C3AA940D; Tue, 27 Oct 2026 23:10:06 +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: <20261026-lan966x-fdma-tx-clear-hardirq-v1-1-5f70f026a2e4@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