[PATCH net-next] net: sparx5/lan969x: Add support for ethtool pause parameters
Russell King (Oracle)
linux at armlinux.org.uk
Wed Sep 17 07:26:03 PDT 2025
On Wed, Sep 17, 2025 at 01:49:43PM +0200, Daniel Machon wrote:
> Implement get_pauseparam() and set_pauseparam() ethtool operations for
> Sparx5 ports. This allows users to query and configure IEEE 802.3x
> pause frame settings via:
>
> ethtool -a ethX
> ethtool -A ethX rx on|off tx on|off autoneg on|off
>
> The driver delegates pause parameter handling to phylink through
> phylink_ethtool_get_pauseparam() and phylink_ethtool_set_pauseparam().
>
> The underlying configuration of pause frame generation and reception is
> already implemented in the driver; this patch only wires it up to the
> standard ethtool interface, making the feature accessible to userspace.
>
> Signed-off-by: Daniel Machon <daniel.machon at microchip.com>
It is nice to see drivers not having to implement complicated code
to add support for pause configuration!
Reviewed-by: Russell King (Oracle) <rmk+kernel at armlinux.org.uk>
Thanks!
--
RMK's Patch system: https://www.armlinux.org.uk/developer/patches/
FTTP is here! 80Mbps down 10Mbps up. Decent connectivity at last!
More information about the linux-arm-kernel
mailing list