Re: [PATCH net-next v1 1/1] net: usb: smsc95xx: add support for ethtool pause parameters

From: Andrew Lunn
Date: Fri Jul 18 2025 - 09:03:51 EST


On Fri, Jul 18, 2025 at 09:51:56AM +0200, Oleksij Rempel wrote:
> Implement ethtool .get_pauseparam and .set_pauseparam handlers for
> configuring flow control on smsc95xx. The driver now supports enabling
> or disabling transmit and receive pause frames, with or without
> autonegotiation. Pause settings are applied during link-up based on
> current PHY state and user configuration.
>
> Previously, the driver used phy_get_pause() during link-up handling,
> but lacked initialization and an ethtool interface to configure pause
> modes. As a result, flow control support was effectively non-functional.
>
> Signed-off-by: Oleksij Rempel <o.rempel@xxxxxxxxxxxxxx>

Reviewed-by: Andrew Lunn <andrew@xxxxxxx>

Andrew