[PATCH net-next v2] net: stmmac: convert to use .get_rx_ring_count
Simon Horman
horms at kernel.org
Mon Jan 12 07:26:35 PST 2026
On Thu, Jan 08, 2026 at 03:43:00AM -0800, Breno Leitao wrote:
> Convert the stmmac driver to use the new .get_rx_ring_count
> ethtool operation instead of implementing .get_rxnfc for handling
> ETHTOOL_GRXRINGS command.
>
> Since stmmac_get_rxnfc() only handled ETHTOOL_GRXRINGS (returning
> -EOPNOTSUPP for all other commands), remove it entirely and replace
> it with the simpler stmmac_get_rx_ring_count() callback.
>
> Signed-off-by: Breno Leitao <leitao at debian.org>
> ---
> Changes in v2:
> - no change from v1. Basically resending it now that net-next is open.
> - Link to v1: https://patch.msgid.link/20251222-gxring_stmicro-v1-1-d018a14644a5@debian.org
Reviewed-by: Simon Horman <horms at kernel.org>
More information about the linux-arm-kernel
mailing list