linux/drivers/net/ethernet/cavium
Breno Leitao 73880e66b7 net: thunder: convert to use .get_rx_ring_count
Convert the Cavium Thunder NIC VF driver to use the new .get_rx_ring_count
ethtool operation instead of implementing .get_rxnfc solely for handling
ETHTOOL_GRXRINGS command. This simplifies the code by removing the
switch statement and replacing it with a direct return of the queue
count.

The new callback provides the same functionality in a more direct way,
following the ongoing ethtool API modernization.

Signed-off-by: Breno Leitao <leitao@debian.org>
Link: https://patch.msgid.link/20251126-gxring_cavium-v1-1-a066c0c9e0c6@debian.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
History 2025-11-27 18:09:53 -08:00
..
common time/timecounter: Fix the lie that struct cyclecounter is const 2025-07-01 15:38:25 +02:00
liquidio net: liquidio_vf: convert to use ndo_hwtstamp callbacks 2025-11-04 17:43:51 -08:00
octeon net: octeon: mgmt: convert to use ndo_hwtstamp callbacks 2025-11-04 17:43:52 -08:00
thunder net: thunder: convert to use .get_rx_ring_count 2025-11-27 18:09:53 -08:00
Kconfig lib/crc: remove CONFIG_LIBCRC32C 2025-04-04 11:31:42 -07:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00