[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20251128-gxring_freescale-v1-0-22a978abf29e@debian.org>
Date: Fri, 28 Nov 2025 05:11:44 -0800
From: Breno Leitao <leitao@...ian.org>
To: Claudiu Manoil <claudiu.manoil@....com>,
Andrew Lunn <andrew+netdev@...n.ch>,
"David S. Miller" <davem@...emloft.net>, Eric Dumazet <edumazet@...gle.com>,
Jakub Kicinski <kuba@...nel.org>, Paolo Abeni <pabeni@...hat.com>,
Ioana Ciornei <ioana.ciornei@....com>,
Vladimir Oltean <vladimir.oltean@....com>, Wei Fang <wei.fang@....com>,
Clark Wang <xiaoning.wang@....com>
Cc: netdev@...r.kernel.org, linux-kernel@...r.kernel.org,
imx@...ts.linux.dev, Breno Leitao <leitao@...ian.org>
Subject: [PATCH net-next 0/3] net: freescale: migrate to
.get_rx_ring_count() ethtool callback
This series migrates Freescale network drivers to use the new .get_rx_ring_count()
ethtool callback introduced in commit 84eaf4359c36 ("net: ethtool: add
get_rx_ring_count callback to optimize RX ring queries").
The new callback simplifies the .get_rxnfc() implementation by removing
ETHTOOL_GRXRINGS handling and moving it to a dedicated callback. This provides
a cleaner separation of concerns and aligns these drivers with the modern
ethtool API.
The series updates the following Freescale drivers:
- enetc
- dppa2
- gianfar
PS: These were compile-tested only.
---
Breno Leitao (3):
net: gianfar: convert to use .get_rx_ring_count
net: dpaa2: convert to use .get_rx_ring_count
net: enetc: convert to use .get_rx_ring_count
.../net/ethernet/freescale/dpaa2/dpaa2-ethtool.c | 11 +++++--
.../net/ethernet/freescale/enetc/enetc_ethtool.c | 37 +++++++---------------
drivers/net/ethernet/freescale/gianfar_ethtool.c | 11 +++++--
3 files changed, 27 insertions(+), 32 deletions(-)
---
base-commit: ed01d2069e8b40eb283050b7119c25a67542a585
change-id: 20251128-gxring_freescale-695aa9e826d2
Best regards,
--
Breno Leitao <leitao@...ian.org>
Powered by blists - more mailing lists