]> Gentwo Git Trees - linux/.git/commit
Merge branch 'net-broadcom-migrate-to-get_rx_ring_count-ethtool-callback'
authorJakub Kicinski <kuba@kernel.org>
Sat, 29 Nov 2025 03:56:26 +0000 (19:56 -0800)
committerJakub Kicinski <kuba@kernel.org>
Sat, 29 Nov 2025 03:56:27 +0000 (19:56 -0800)
commite48766e66b4d5b5f215adb600ff85bef0ee64800
tree7a47a4fe5823945f0b705b56f614e969f0b14567
parent2ce992a1a400b28fd52f5ee77fb5ab836bb861a8
parent335d78c6161b18e95f72404ee3e210e64b5f5adc
Merge branch 'net-broadcom-migrate-to-get_rx_ring_count-ethtool-callback'

Breno Leitao says:

====================
net: broadcom: migrate to .get_rx_ring_count() ethtool callback

This series migrates Broadcom ethernet 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").

This change simplifies the .get_rxnfc() implementation by
extracting the ETHTOOL_GRXRINGS case handling into a dedicated callback,
making the code cleaner and aligning these drivers with the updated
ethtool API.

The series covers two Broadcom drivers: bnxt and bcmgenet. Each patch
removes the ETHTOOL_GRXRINGS case from the driver's .get_rxnfc() switch
statement and implements the new .get_rx_ring_count() callback that
returns the number of RX rings.
====================

Link: https://patch.msgid.link/20251127-grxrings_broadcom-v1-0-b0b182864950@debian.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>