linux-kernelorg-stable/drivers/net/ethernet/intel/ixgbe
Breno Leitao f455d3f02d net: ixgbe: convert to use .get_rx_ring_count
Convert the ixgbe driver to use the new .get_rx_ring_count ethtool
operation for handling ETHTOOL_GRXRINGS command. This simplifies the
code by extracting the ring count logic into a dedicated callback.

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

This was compile-tested only.

Reviewed-by: Paul Menzel <pmenzel@molgen.mpg.de>
Reviewed-by: Aleksandr Loktionov <aleksandr.loktionov@intel.com>
Signed-off-by: Breno Leitao <leitao@debian.org>
Link: https://patch.msgid.link/20251113-ixgbe_gxrings-v2-1-0ecf57808a78@debian.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2025-11-14 18:02:22 -08:00
..
devlink
Makefile
ixgbe.h
ixgbe_82598.c
ixgbe_82599.c
ixgbe_common.c
ixgbe_common.h
ixgbe_dcb.c
ixgbe_dcb.h
ixgbe_dcb_82598.c
ixgbe_dcb_82598.h
ixgbe_dcb_82599.c
ixgbe_dcb_82599.h
ixgbe_dcb_nl.c
ixgbe_debugfs.c
ixgbe_e610.c
ixgbe_e610.h
ixgbe_ethtool.c
ixgbe_fcoe.c
ixgbe_fcoe.h
ixgbe_fw_update.c
ixgbe_fw_update.h
ixgbe_ipsec.c
ixgbe_ipsec.h
ixgbe_lib.c
ixgbe_main.c
ixgbe_mbx.c
ixgbe_mbx.h
ixgbe_model.h
ixgbe_phy.c
ixgbe_phy.h
ixgbe_ptp.c
ixgbe_sriov.c
ixgbe_sriov.h
ixgbe_sysfs.c
ixgbe_txrx_common.h
ixgbe_type.h
ixgbe_type_e610.h
ixgbe_x540.c
ixgbe_x540.h
ixgbe_x550.c
ixgbe_x550.h
ixgbe_xsk.c