From: "Creeley, Brett" <bcreeley@amd.com>
To: Breno Leitao <leitao@debian.org>,
Ajit Khaparde <ajit.khaparde@broadcom.com>,
Sriharsha Basavapatna <sriharsha.basavapatna@broadcom.com>,
Somnath Kotur <somnath.kotur@broadcom.com>,
Andrew Lunn <andrew+netdev@lunn.ch>,
"David S. Miller" <davem@davemloft.net>,
Eric Dumazet <edumazet@google.com>,
Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>,
Igor Russkikh <irusskikh@marvell.com>,
Simon Horman <horms@kernel.org>,
"K. Y. Srinivasan" <kys@microsoft.com>,
Haiyang Zhang <haiyangz@microsoft.com>,
Wei Liu <wei.liu@kernel.org>, Dexuan Cui <decui@microsoft.com>,
Long Li <longli@microsoft.com>,
Alexander Duyck <alexanderduyck@fb.com>,
kernel-team@meta.com, Edward Cree <ecree.xilinx@gmail.com>,
Brett Creeley <brett.creeley@amd.com>
Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org,
oss-drivers@corigine.com, linux-hyperv@vger.kernel.org,
linux-net-drivers@amd.com,
Subbaraya Sundeep <sbhatta@marvell.com>
Subject: Re: [PATCH net-next v2 0/9] net: convert drivers to .get_rx_ring_count (last part)
Date: Thu, 22 Jan 2026 10:50:55 -0800 [thread overview]
Message-ID: <cdeb577e-e674-493a-8dfa-d6f547cbaa50@amd.com> (raw)
In-Reply-To: <20260122-grxring_big_v4-v2-0-94dbe4dcaa10@debian.org>
On 1/22/2026 10:40 AM, Breno Leitao wrote:
> Caution: This message originated from an External Source. Use proper caution when opening attachments, clicking links, or responding.
>
>
> Commit 84eaf4359c36 ("net: ethtool: add get_rx_ring_count callback to
> optimize RX ring queries") added specific support for GRXRINGS callback,
> simplifying .get_rxnfc.
>
> Remove the handling of GRXRINGS in .get_rxnfc() by moving it to the new
> .get_rx_ring_count().
>
> This simplifies the RX ring count retrieval and aligns the following
> drivers with the new ethtool API for querying RX ring parameters.
>
> * sfc
> * ionic
> * sfc/siena
> * sfc/ef100
> * fbnic
> * mana
> * nfp
> * atlantic
> * benet (this is v2 in fact, where v1 had some discussions that
> required a v2). See link [0]
>
> Link: https://lore.kernel.org/all/20260119094514.5b12a097@kernel.org/ [0]
>
> This is covering the last drivers, and as soon as this lands, I will
> change the ethtool framework to avoid calling .get_rx_ring_count for
> ETHTOOL_GRXRINGS, simplifying the ethtool core framework.
>
> Part 1 is already merged in net-next and can be seen in
> https://lore.kernel.org/all/20260109-grxring_big_v1-v1-0-a0f77f732006@debian.org/
>
> Part 2 is already merged in net-next except benet driver, which is now included
> in here
> https://lore.kernel.org/all/20260115-grxring_big_v2-v1-0-b3e1b58bced5@debian.org/
>
> PS: all of these change were compile-tested only.
>
> Signed-off-by: Breno Leitao <leitao@debian.org>
> ---
> Changes in v2:
> - Respect reverse xmas tree in Atlantic driver (Brett Creeley)
> - Link to v1: https://patch.msgid.link/20260121-grxring_big_v4-v1-0-07655be56bcf@debian.org
>
> ---
> Breno Leitao (9):
> net: benet: convert to use .get_rx_ring_count
> net: atlantic: convert to use .get_rx_ring_count
> net: nfp: convert to use .get_rx_ring_count
> net: mana: convert to use .get_rx_ring_count
> net: fbnic: convert to use .get_rx_ring_count
> net: ionic: convert to use .get_rx_ring_count
> net: sfc: efx: convert to use .get_rx_ring_count
> net: sfc: siena: convert to use .get_rx_ring_count
> net: sfc: falcon: convert to use .get_rx_ring_count
>
> .../net/ethernet/aquantia/atlantic/aq_ethtool.c | 18 +++++++----
> drivers/net/ethernet/emulex/benet/be_ethtool.c | 37 ++++++++--------------
> drivers/net/ethernet/meta/fbnic/fbnic_ethtool.c | 12 ++++---
> drivers/net/ethernet/microsoft/mana/mana_ethtool.c | 13 ++------
> .../net/ethernet/netronome/nfp/nfp_net_ethtool.c | 11 +++++--
> .../net/ethernet/pensando/ionic/ionic_ethtool.c | 18 ++---------
> drivers/net/ethernet/sfc/ef100_ethtool.c | 1 +
> drivers/net/ethernet/sfc/ethtool.c | 1 +
> drivers/net/ethernet/sfc/ethtool_common.c | 11 ++++---
> drivers/net/ethernet/sfc/ethtool_common.h | 1 +
> drivers/net/ethernet/sfc/falcon/ethtool.c | 12 ++++---
> drivers/net/ethernet/sfc/siena/ethtool.c | 1 +
> drivers/net/ethernet/sfc/siena/ethtool_common.c | 11 ++++---
> drivers/net/ethernet/sfc/siena/ethtool_common.h | 1 +
> 14 files changed, 75 insertions(+), 73 deletions(-)
> ---
> base-commit: d8f87aa5fa0a4276491fa8ef436cd22605a3f9ba
> change-id: 20260121-grxring_big_v4-55037f9e001e
>
> Best regards,
> --
> Breno Leitao <leitao@debian.org>
Entire series LGTM.
Reviewed-by: Brett Creeley <brett.creeley@amd.com>
>
next prev parent reply other threads:[~2026-01-22 18:51 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-01-22 18:40 [PATCH net-next v2 0/9] net: convert drivers to .get_rx_ring_count (last part) Breno Leitao
2026-01-22 18:40 ` [PATCH net-next v2 1/9] net: benet: convert to use .get_rx_ring_count Breno Leitao
2026-01-22 18:40 ` [PATCH net-next v2 2/9] net: atlantic: " Breno Leitao
2026-01-22 18:40 ` [PATCH net-next v2 3/9] net: nfp: " Breno Leitao
2026-01-22 18:40 ` [PATCH net-next v2 4/9] net: mana: " Breno Leitao
2026-01-22 18:40 ` [PATCH net-next v2 5/9] net: fbnic: " Breno Leitao
2026-01-22 18:40 ` [PATCH net-next v2 6/9] net: ionic: " Breno Leitao
2026-01-22 18:40 ` [PATCH net-next v2 7/9] net: sfc: efx: " Breno Leitao
2026-01-22 18:40 ` [PATCH net-next v2 8/9] net: sfc: siena: " Breno Leitao
2026-01-22 18:40 ` [PATCH net-next v2 9/9] net: sfc: falcon: " Breno Leitao
2026-01-22 18:50 ` Creeley, Brett [this message]
2026-01-23 19:00 ` [PATCH net-next v2 0/9] net: convert drivers to .get_rx_ring_count (last part) patchwork-bot+netdevbpf
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cdeb577e-e674-493a-8dfa-d6f547cbaa50@amd.com \
--to=bcreeley@amd.com \
--cc=ajit.khaparde@broadcom.com \
--cc=alexanderduyck@fb.com \
--cc=andrew+netdev@lunn.ch \
--cc=brett.creeley@amd.com \
--cc=davem@davemloft.net \
--cc=decui@microsoft.com \
--cc=ecree.xilinx@gmail.com \
--cc=edumazet@google.com \
--cc=haiyangz@microsoft.com \
--cc=horms@kernel.org \
--cc=irusskikh@marvell.com \
--cc=kernel-team@meta.com \
--cc=kuba@kernel.org \
--cc=kys@microsoft.com \
--cc=leitao@debian.org \
--cc=linux-hyperv@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-net-drivers@amd.com \
--cc=longli@microsoft.com \
--cc=netdev@vger.kernel.org \
--cc=oss-drivers@corigine.com \
--cc=pabeni@redhat.com \
--cc=sbhatta@marvell.com \
--cc=somnath.kotur@broadcom.com \
--cc=sriharsha.basavapatna@broadcom.com \
--cc=wei.liu@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox