🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #8411

Re: [PATCH net 1/5] eth: bnxt: recycle agg buffers when Rx head buffer allocation fails

#8411
From: Jakub Kicinski
Date: Thu, 29 Oct 2026 00:49
20 lines
8652 bytes
On Wed, 28 Oct 2026 23:52:43 +0000 netdev-bot+sashiko@kernel.org wrote:
> Low priority / nit picks for your consideration:
> 
> - [Low] bnxt_rx_multi_page_skb() now re-posts the head page to the device
>   without dma_sync_single_for_device() when napi_build_skb() fails.

This is what I flagged in the cover letter as outstanding bugs in DMA
sync which I have separate series for.

> Pre-existing issues:
> - [High] This problem wasn't introduced by this patch, but the patch adds
>   a new consumer of it.

Same.

> - [Medium] At this commit, the XDP multi-buffer path in bnxt_rx_pkt()
>   still leaks buffers when bnxt_rx_agg_netmems_xdp() fails partway.

As bot realizes this is fixed later in the series.
Technical Details
Message-ID: <20261028174941.7db170f1@kernel.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer05.iad!feed-me.highwinds-media.com!peer04.ams4!peer.am4.highwinds-media.com!news.highwinds-media.com!feeder.usenetexpress.com!tr3.eu1.usenetexpress.com!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-353104-linux-kernel-netdev=dewy.ru
References: <20261027234940.1267225-2-kuba@kernel.org> <179323156398.3134.2862221492750758183@kernel.org>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer05.iad!feed-me.highwinds-media.com!peer04.ams4!peer.am4.highwinds-media.com!news.highwinds-media.com!feeder.usenetexpress.com!tr3.eu1.usenetexpress.com!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-353104-linux-kernel-netdev=dewy.ru
From: kuba@kernel.org (Jakub Kicinski)
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH net 1/5] eth: bnxt: recycle agg buffers when Rx head buffer allocation fails
Date: Wed, 28 Oct 2026 17:49:41 -0700
Organization: Usenet Network
Message-ID: <20261028174941.7db170f1@kernel.org>
References: <20261027234940.1267225-2-kuba@kernel.org> <179323156398.3134.2862221492750758183@kernel.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Injection-Info: usenet.network; logging-data="1904135"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:rzWD0YLU1N6t8v7biyCi/8oMUZk= sha256:D0G4bdoMFIc+UdmcHxF8ENQ5c2hFxTcHO9452EqUXwA= sha1:NnItAO6FTNY5+40C34O4GU7r0V4= sha256:WxzbFTBPLAnsoiE5L5HXrARVVtsvn1KKJDSLrjdgsNo=
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 B0720125C53; Thu, 29 Oct 2026 03:50:01 +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 4CKfpQ1KR-NY; Thu, 29 Oct 2026 03:49:58 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=netdev+bounces-353104-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 63972125C4D; Thu, 29 Oct 2026 03:49:49 +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 0B8E32781B; Thu, 29 Oct 2026 00:49:44 +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=1793234983; b=1tOY0DCVgICei2kagCjWE0UrhyAPuJSwj96G+lzS07YJE/HGexjVjsRCCmW46wHevD6J 0ujM+M3j8w/fnqLwZkXRj9aAMPNr/lT0DMfUSlKfb2jCsR89hgmp4IHUBA7yfAuZOPCIF fh9HzTK+FSNLRmwq/2zR7Pl5j4yLcj/a04VhKaCQzh4d2yDjbXS72nqluNAr8L88FLCl3 Fx4Rd8PRs5bOYH2CM3HDlmPdMWjHzOuPcYN1YRLMGP6gWrsOwCDCWTZO1TfYlukjqC2Lj 2WsF/ue19NiMzVuwoxGCUVIPKnnCJaGodW/vHDb38GS3Me1tf+jP8IwN8ki0WqeMRaQ==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1793234983; h=X-Original-To:Received:Received:DKIM-Signature:Date:From:To:Cc: Subject:Message-ID:In-Reply-To:References:X-Mailing-List:List-Id: List-Post:List-Help:List-Subscribe:List-Unsubscribe:List-Owner: Precedence:MIME-Version:Content-Type:Content-Transfer-Encoding; bh=YEtAZJ0iJf6+9fOufFHDxKIrhDR38R/GasJrb8soNE4=; b=yqgj1nGL14mQye0VVSgwKTGInQnx/fZj9yQ8bSE0Pr2yun0GpdPrGELG8QkNbv4LJclk +7EiwSAivRWU7NAXrIP6wjzpQ6jAp/QWnSzpwYzvJ/AFpUP+UQmj0Rso7MFu7iVpzhSoC xt8ae5Up2zjXZX6SKW2l5CkLcNh3z8uhp3enbHlKTXSZVEiznN46no6CYRs/8BE9rLP6R o4NVptMZTiTKg3xPyQmvbLomcaIcSHBcYOC9v7QcB8RxgUoE7AdoSEa2XVU7ufUhWsJ4y eEhvwZGA4tZ6iazoTecxxRnC7jXw7V6tbkYy4g+UrKj/vxlzONJEwVaRwWHGFUr/xQw==
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=mxGhbNfn; 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 D51AF606A321; Thu, 29 Oct 2026 00:49:43 +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=mxGhbNfn
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=1793234983; b=VeuJtecq1WsmmMRevOWfPBYi4/FzxPxipmfvajKczxjrABZuMzBjbs/r+7kyIoECK64L reVmKCYd9BIq13q/glJrwEdHwkpZiv/WMSMpMMm8tdYxtZqWj/Uw9ZkV93OMNJcA0HlNs 7HDYWEln/q+/vIWGwMETiHZCuZqRzUteVY3w2o2WRj6/Y2VF7lQI9ImyE++dS6RnSPRHS OOJ7EBhxaNv/zS21Fepm/6qK2R402/RVBlb5UepEOzWNjVihyCCmF9hILzNRdY50xoBYW Xv/0mldvITJrdCLEcaj8tRtwpgBYxUucwPTeMVEEvcZE4TE2t4rzfB0E/C+bO+d80Uw==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1793234983; h=Received:DKIM-Signature:Date:From:To:Cc:Subject:Message-ID: In-Reply-To:References:MIME-Version:Content-Type: Content-Transfer-Encoding; bh=YEtAZJ0iJf6+9fOufFHDxKIrhDR38R/GasJrb8soNE4=; b=d+oSvE0XlMriNc9wzfoMLlJkKSlsbodVYct78UaMj0mU4MpuaypcsC2KPLrVAEhMLZeJ W5m93KI7M83pLTEd21EbqtNhDNhGuqyZvhWA2XD1Zj7wvYNcRMzo/K808g0aK5BXs+gRP ZK4u4STVqnAEz7PffdI/ppusy9VGArsA6H4b6RZvFyqsBIrQH+eoZoqxQpSrK/YqJDxau wM8Hq9amRHDe0cbCEOlqtbmBBAbliNvYpaiTTeWHbocFGnpVsQYS44fGPsa6U2NASokZW fyC1XCHyD18EtU91coMW+xm/Wjzp5KReocfnir3ESG5dQs3zuDEgzpGzAszJTlLXvOQ==
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=mxGhbNfn; 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 B9865606A31A for <netdev@vger.kernel.org>; Thu, 29 Oct 2026 00:49:42 +0000 (UTC)
X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id DAB3D1F01825; Thu, 29 Oct 2026 00:49:41 +0000 (UTC)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1793234982; bh=YEtAZJ0iJf6+9fOufFHDxKIrhDR38R/GasJrb8soNE4=; h=Date:From:To:Cc:Subject:In-Reply-To:References; b=mxGhbNfnRMgqRHjivGhHxhr3ueGq6dKjw3Fmb162knHq417rPJkMaQDS2fqs+GSO4 d8cmu5orHQOfKkQRA2TUjnaShohfJilBI2jMXzGQxwFTIwdCas6lnzv+KwnKuHbFHw wlhZWpwZjsU9bPeT49LqIDY0PVGVIZ9MoLzwXazw4Wrp/pBB7VCyksEA736ryKXWRU nOr/6uUHoQ0o5HZIi5z9O0W9Vz8hvlnyQaN4NO/Uvq5tWBpmNbOPNOyxuQjcXwGZWV tnj20kzkN/8AsAM/d+Mumd2UYeJEgYTlgnvMY3s1Ng5XiYDqMDyoVk/stID2Y5RkdM PLs3nwvKB3TwQ==
X-Cc: davem@davemloft.net, netdev@vger.kernel.org, edumazet@google.com, pabeni@redhat.com, andrew+netdev@lunn.ch, horms@kernel.org, michael.chan@broadcom.com, pavan.chebbi@broadcom.com, hawk@kernel.org, john.fastabend@gmail.com, sdf@fomichev.me, eddie.wai@broadcom.com, prashant@broadcom.com, huangjw@broadcom.com, gospo@broadcom.com, brett.creeley@amd.com, ap420073@gmail.com, joe@dama.to
X-In-Reply-To: <179323156398.3134.2862221492750758183@kernel.org>
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-Received-Bytes: 8446