summaryrefslogtreecommitdiff
path: root/drivers/net/can
diff options
context:
space:
mode:
authorBreno Leitao <leitao@debian.org>2025-11-21 01:59:23 -0800
committerJakub Kicinski <kuba@kernel.org>2025-11-24 19:42:30 -0800
commita8ff4842da50b5f4ea03d5d38a2ee93b701fe8e6 (patch)
tree495b774fe3a7c9f3218a9464d829bd936671c1ff /drivers/net/can
parentec1e48e97febbf7f87fc150793af2eda7223815c (diff)
net: hyperv: convert to use .get_rx_ring_count
Convert the hyperv netvsc 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 replacing the switch statement 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/20251121-hyperv_gxrings-v1-1-31293104953b@debian.org Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/net/can')
0 files changed, 0 insertions, 0 deletions