[PATCH net-next 0/3] net: freescale: migrate to .get_rx_ring_count() ethtool callback

Breno Leitao posted 3 patches 3 days, 8 hours ago
.../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(-)
[PATCH net-next 0/3] net: freescale: migrate to .get_rx_ring_count() ethtool callback
Posted by Breno Leitao 3 days, 8 hours ago
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@debian.org>