]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
net: mana: convert to use .get_rx_ring_count
authorBreno Leitao <leitao@debian.org>
Thu, 22 Jan 2026 18:40:16 +0000 (10:40 -0800)
committerJakub Kicinski <kuba@kernel.org>
Fri, 23 Jan 2026 18:53:05 +0000 (10:53 -0800)
commit3eb72257183595877c81887ceb14b82313621d9f
tree88be81a6312d7bc84fbe9aa60a0b7c3c9d0f5878
parent46f4ad55605e725c2bf2c4da7ddff121d23083e8
net: mana: convert to use .get_rx_ring_count

Use the newly introduced .get_rx_ring_count ethtool ops callback instead
of handling ETHTOOL_GRXRINGS directly in .get_rxnfc().

Since ETHTOOL_GRXRINGS was the only command handled by mana_get_rxnfc(),
remove the function entirely.

Reviewed-by: Subbaraya Sundeep <sbhatta@marvell.com>
Signed-off-by: Breno Leitao <leitao@debian.org>
Reviewed-by: Brett Creeley <brett.creeley@amd.com>
Link: https://patch.msgid.link/20260122-grxring_big_v4-v2-4-94dbe4dcaa10@debian.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/microsoft/mana/mana_ethtool.c