Re: [PATCH net-next v8 5/6] net: usb: lan78xx: Integrate EEE support with phylink LPI API

From: Russell King (Oracle)
Date: Wed Jun 18 2025 - 09:03:25 EST


On Wed, Jun 18, 2025 at 02:26:01PM +0200, Oleksij Rempel wrote:
> Refactor Energy-Efficient Ethernet (EEE) support in the LAN78xx driver to
> fully integrate with the phylink Low Power Idle (LPI) API. This includes:
>
> - Replacing direct calls to `phy_ethtool_get_eee` and `phy_ethtool_set_eee`
> with `phylink_ethtool_get_eee` and `phylink_ethtool_set_eee`.
> - Implementing `.mac_enable_tx_lpi` and `.mac_disable_tx_lpi` to control
> LPI transitions via phylink.
> - Configuring `lpi_timer_default` to align with recommended values from
> LAN7800 documentation.
> - ensure EEE is disabled on controller reset
>
> Signed-off-by: Oleksij Rempel <o.rempel@xxxxxxxxxxxxxx>

Reviewed-by: Russell King (Oracle) <rmk+kernel@xxxxxxxxxxxxxxx>

Thanks!

--
RMK's Patch system: https://www.armlinux.org.uk/developer/patches/
FTTP is here! 80Mbps down 10Mbps up. Decent connectivity at last!