]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
net: gve: convert to use .get_rx_ring_count
authorBreno Leitao <leitao@debian.org>
Mon, 5 Jan 2026 15:28:26 +0000 (07:28 -0800)
committerJakub Kicinski <kuba@kernel.org>
Wed, 7 Jan 2026 01:15:00 +0000 (17:15 -0800)
commit48b27ea6239a797b286919d549e8d8a5a54d89f3
tree83efab4de6522d7d3daad0af8e9411b5b883ebff
parent27a01c1969a5d5ed4739e45777957445af96322d
net: gve: convert to use .get_rx_ring_count

Convert the Google Virtual Ethernet (GVE) driver to use the new
.get_rx_ring_count ethtool operation instead of handling
ETHTOOL_GRXRINGS in .get_rxnfc. This simplifies the code by moving the
ring count query to a dedicated callback.

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

Reviewed-by: Subbaraya Sundeep <sbhatta@marvell.com>
Reviewed-by: Harshitha Ramamurthy <hramamurthy@google.com>
Signed-off-by: Breno Leitao <leitao@debian.org>
Link: https://patch.msgid.link/20260105-gxring_google-v2-1-e7cfe924d429@debian.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/google/gve/gve_ethtool.c