From: Jakub Kicinski Date: Sat, 29 Nov 2025 03:56:26 +0000 (-0800) Subject: Merge branch 'net-broadcom-migrate-to-get_rx_ring_count-ethtool-callback' X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=e48766e66b4d5b5f215adb600ff85bef0ee64800;p=thirdparty%2Fkernel%2Flinux.git 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 --- e48766e66b4d5b5f215adb600ff85bef0ee64800