Re: [PATCH net-next v2 6/8] net: phy: at803x: Make SmartEEE support optional and configurable via ethtool
From: Oleksij Rempel <o.rempel@pengutronix.de>
Date: 2023-03-28 13:01:07
Also in:
lkml
From: Oleksij Rempel <o.rempel@pengutronix.de>
Date: 2023-03-28 13:01:07
Also in:
lkml
On Tue, Mar 28, 2023 at 02:49:58PM +0200, Andrew Lunn wrote:
quoted
quoted
@@ -302,6 +312,8 @@ struct at803x_priv { u8 smarteee_lpi_tw_100m; bool is_fiber; bool is_1000basex; + bool tx_lpi_on;@Andrew, this variable can be replace by your phydev->tx_lpi_enabled variable. Should I wait for your patches went mainline?I was wondering about the overlap and the best way to address it. My patchset is also a bit big, and getting bigger. So it might make sense to split out some of the bits you need and get them merged first. You need the MAC indicating it is EEE capable. I don't store that information explicitly, but that is a quick simple change. You also need phydev->tx_lpi_enabled. Anything else?
No. It's fine. Thx! Regards, Oleksij -- Pengutronix e.K. | | Steuerwalder Str. 21 | http://www.pengutronix.de/ | 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |