Article View: linux.kernel.netdev
Article #17274Re: [PATCH net-next v8 10/19] net: ethernet: cortina: Separate RX buffer capacity from free queue size
From: netdev-bot+sashiko
Date: Mon, 16 Nov 2026 14:45
Date: Mon, 16 Nov 2026 14:45
63 lines
10618 bytes
10618 bytes
Thank you for your contribution! Sashiko AI review found more severe
issue(s) in other patches of this series. This mail is only an FYI, in case
you want to address the nit picks below when you respin.
Low priority / nit picks for your consideration:
- [Low] The commit message has `Fixes: 0bf8c8c94af2 ("net: ethernet:
cortina: Normalize free queue pointers on rebuild")`, but that SHAโฆ
--
net: ethernet: cortina: Separate RX buffer capacity from free queue size
This patch keeps the free queue descriptor ring large enough to contain
the retained hardware read pointer. The RX page budget is now sized
separately, from the configured port RX rings. Refill occupancy, page
metadata and the NAPI refill threshold are bounded by that new
freeq_buf_order instead of freeq_order.
> Fixes: 0bf8c8c94af2 ("net: ethernet: cortina: Normalize free queue pointers on rebuild")
[Severity: Low]
Is this Fixes tag pointing at the right commit? 0bf8c8c94af2 does not
resolve in the tree. The commit with this subject is 1e7aa52a9993,
earlier in this same series.
That commit adds the floor in geth_resize_freeq():
new_order = max_t(unsigned int, new_order, fls(rptr));
Page allocation is still tied to the ring order at that point. So any
retained rptr >= 16384 forces an order-15 ring and about 64 MiB of RX
pages.
Its message only says "a following patch decouples the RX buffer budget
from descriptor geometry". It carries Fixes: 4d5ae32f5e1e, which makes it
a stable candidate. It does not name this patch as a required companion.
Other patches in the series do state their pairings. For example,
"Preserve in-flight free queue pages" says "Backport both changes
together with their prerequisites".
Since the tag here does not resolve, could stable or AUTOSEL tooling pick
up "Normalize free queue pointers on rebuild" without this follow-up? On
32 to 128 MiB Gemini boards, open() would then keep failing whenever the
retained rptr is >= 16384. The bisect window between the two commits in
this series has the same allocation problem.
This patch also cannot be applied directly on top of "Normalize free
queue pointers on rebuild". It changes geth_freeq_page_slots(), the
capacity-bounded loop in geth_fill_freeq() and the
freeq_recycle_pending path. Those come from "Preserve in-flight free
queue pages" and "Recycle claimed free queue pages", and the commit
message does not mention them as prerequisites.
Would it be cleaner to squash this change into "Normalize free queue
pointers on rebuild"? If not, could the Fixes tag be corrected to
1e7aa52a9993, with the backport pairing and prerequisites listed in both
commit messages?
--
Sashiko AI review ยท https://netdev-ai.bots.linux.dev/sashiko/#/patchset/20261112-gemini-ethernet-fixes-3-v8-0-f55bd43e02d3%40kernel.org
Technical Details
Message-ID:
<179484034800.3136.6036481481685475062@kernel.org>Path:
mbox-mo1.pugleaf.net!news-lax.pugleaf.net!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-364469-linux-kernel-netdev=dewy.ruReferences:
<20261112-gemini-ethernet-fixes-3-v8-10-f55bd43e02d3@kernel.org>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-364469-linux-kernel-netdev=dewy.ru From: netdev-bot+sashiko@kernel.org Newsgroups: linux.kernel.netdev Subject: Re: [PATCH net-next v8 10/19] net: ethernet: cortina: Separate RX buffer capacity from free queue size Date: Mon, 16 Nov 2026 14:45:48 +0000 Organization: Usenet Network Message-ID: <179484034800.3136.6036481481685475062@kernel.org> References: <20261112-gemini-ethernet-fixes-3-v8-10-f55bd43e02d3@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Injection-Info: usenet.network; logging-data="2089788"; mail-complaints-to="abuse@usenet.network" Cancel-Lock: sha1:sNMylw2sSElwZ2QO+nH0KddVCPg= sha256:p7u4o9koKQLDEC5hBwcPdXdjB0os7cLA8SiwqhIk7vk= sha1:ny+wZfslhYPoCgKPS2ma2ZdIL98= sha256:P+Kwk+a7BI6pqAjo6+YX8B0FoC3OzGsetw15OEtc12E= 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 2D115114C95; Mon, 16 Nov 2026 17:46:11 +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 VWTueqpZO9VL; Mon, 16 Nov 2026 17:46:07 +0300 (MSK) X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.105.105.114; helo=tor.lore.kernel.org; envelope-from=netdev+bounces-364469-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 9E812114C92; Mon, 16 Nov 2026 17:45:58 +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 E1ECF2A1E4; Mon, 16 Nov 2026 14:45:53 +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=1794840350; b=Ex4tAV5tq+m/pMtEwHabQGRd3YPacrkadCUQw0N5n4VRnDVxWJ4C+B8KwJhNw/Yw1Lbg re3C4Mt03jD9CqMmzSEHRrBsKsY8yabRZex9pM65rKl5+vMThkeqNRXXYk3FagjCsZSXg 1C6BQl04IPn89YTauJ7ybWfBvoZ4w9l88MXL1kU8bhdi0rP+m+8XwXW5Mv0UUXi5yzibW deGhq7LfoHWmcB8JTSnNxbLImOKPyvblX0QJaF0E9mbEjGrwW1dI1mPPd1B9nXa623YIC BVMvfcNg5COwApa8m/8XhAJSKSNqEAkC2OGaXEUQ/NmMbJkXifH3FCCmlT7tJqFTx4A== X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1794840350; h=X-Original-To:Received:Received:DKIM-Signature:Subject:From:To:Cc: Date:Message-ID:In-Reply-To:References:X-sashiko-severity: Content-Type:Content-Transfer-Encoding:X-Mailing-List:List-Id: List-Post:List-Help:List-Subscribe:List-Unsubscribe:List-Owner: Precedence:MIME-Version; bh=XV2K/KvxG1pmck68zi4jFRg100yoYdgSaWbWlAKHt4Q=; b=qhYt0Zcf9r/S9xvgbGjU0w+kMw9LOdxY4yzEnxM5zqdBmwPJfCMSdwnuSYPXEUywzYcA JIG/pDQ0fycMYqdczH82wQRc/8YEJBsPKGCNtrJl35kS8eiaeCTY/1tKZBIEZ70Bo97w0 R7Jgv18jLsTD8npzEVuDW+QdfhhuRKAyuvRoC2H2hXLeMYLH5YzsSmu4C+CGYlFgMUfBh Frq3kYpHbjOVvXpVipiUUqTsSPlKOpGrzvtfC4QmKhtjPveol8TIeyJl0t6aeyrt3RreJ zBCRE/GTeYzXArVhjtKx3vBj+A8mgE/ie5mjhuIEfi9lBKpKWklEn9wh92dfwPun07A== 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=EaSDVFnQ; 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 12576606A334; Mon, 16 Nov 2026 14:45:50 +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=EaSDVFnQ 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=1794840349; b=Qi9VzX5r1I0GS8cGQFSxr607rEGcRVmM3b3p/IPwCOPCy7ryxJlqIhbDrp/jLbZw37aU Be/6AR84q0e6z2TMBSRf8FEVJAzx44pDdmHTY7C/TfxOjeMfRGhtZcuol/g6924Q05azI HnAWK015KFT0uqmG3lUHY41hp9ZHvIHr732Cnygy6OZONx1yPsTnT/sMTJi7v60rKnbmC ol6LwidawyePa5gy5bf7dGYbi9m+0nuvfiLezW1tsPfEYECH8B+bVG2/VEl5pscGLtP+1 ndifXlUojjoTOa49ueJfug0sPXOfttjngWpITzXI3UI15UX/gWTkIBLQzVD8X6NbjvA== X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1794840349; h=Received:DKIM-Signature:Subject:From:To:Cc:Date:Message-ID: In-Reply-To:References:X-sashiko-severity:Content-Type: Content-Transfer-Encoding:MIME-Version; bh=XV2K/KvxG1pmck68zi4jFRg100yoYdgSaWbWlAKHt4Q=; b=QuPpz8H5zzm2ezhg7ToZAxyO5KsEBOY/eZaUbMe1ioXgcRZNFdrSmXyEXQ/f2QRyu0wv soXKAddpf98l6EGNI4czBr8BEBle4F2jWQd5c3z09tq3rnMbRq6jxDLKMi1+yu0z+nfPg q8N2NDKyDRQHlw+S/m0t/3S444pdSgrj5oMQA/9s9CnJY5Q8MvTB8tEBRE2SVLwaCpvde af9Kip5XooRPjEqXA6CgjSF9/BcrJfyDnagReuwGPT93hAydtGMADMteZtcl88LAfftyU mAJBbiKuwQ/6G+Z2pVIteHh5AvDcO6RcS7VPgncgTijljtok/VcJIY7kJ3Lv1vc/jlg== 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=EaSDVFnQ; 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 35B09606A32C for <netdev@vger.kernel.org>; Mon, 16 Nov 2026 14:45:49 +0000 (UTC) X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id 71BE61F000C8; Mon, 16 Nov 2026 14:45:48 +0000 (UTC) X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1794840349; bh=XV2K/KvxG1pmck68zi4jFRg100yoYdgSaWbWlAKHt4Q=; h=Subject:From:To:Cc:Date:In-Reply-To:References; b=EaSDVFnQTdfMgId9MNdGujUKf+M8BdZah4ehwXCT1+dOvytQ4Y/rQYD2wJQUdIfns GQYbwcvu9HTLZXqg8vyTQNmJy+RM0WlJgAdnEB3l3oMLEPQahcmHUnOAJfqiFVscQB dbM8lXOlxoAd8ZavWNCFcGKKwxD1fXooC9zlg2ocxxutQQBRrsfJ4zh5EJBFRf1lXs Rm+GLMOST2p+rT+QFV7TieS4ZH/9WgTrvqqGB4XIy9eksBEZ2HP4afsc4tVYCeyn1G i3i6V0Sl8JRTuUZLV/sltL29ux5g9tJZWBbFKlbMODmxQoSpHH1e3K5fD6gRXyDt77 kgEbcJvMxKYrA== X-Cc: ulli.kroll@googlemail.com, andrew+netdev@lunn.ch, davem@davemloft.net, kuba@kernel.org, pabeni@redhat.com, mirq-linux@rere.qmqm.pl, mhun512@gmail.com, edumazet@kernel.org, netdev@vger.kernel.org X-In-Reply-To: <20261112-gemini-ethernet-fixes-3-v8-10-f55bd43e02d3@kernel.org> X-sashiko-severity: Low 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