RE: [PATCH net-next v2 8/8] net: fec: Indicate EEE (LPI) support for some FEC Ethernet controllers

From: Wei Fang
Date: Mon Mar 27 2023 - 21:48:29 EST


> -----Original Message-----
> From: Oleksij Rempel <o.rempel@xxxxxxxxxxxxxx>
> Sent: 2023年3月27日 22:22
> To: Wei Fang <wei.fang@xxxxxxx>; David S. Miller <davem@xxxxxxxxxxxxx>;
> Eric Dumazet <edumazet@xxxxxxxxxx>; Jakub Kicinski <kuba@xxxxxxxxxx>;
> Paolo Abeni <pabeni@xxxxxxxxxx>; Andrew Lunn <andrew@xxxxxxx>; Heiner
> Kallweit <hkallweit1@xxxxxxxxx>; Russell King <linux@xxxxxxxxxxxxxxx>
> Cc: Oleksij Rempel <o.rempel@xxxxxxxxxxxxxx>; kernel@xxxxxxxxxxxxxx;
> linux-kernel@xxxxxxxxxxxxxxx; netdev@xxxxxxxxxxxxxxx; Shenwei Wang
> <shenwei.wang@xxxxxxx>; Clark Wang <xiaoning.wang@xxxxxxx>;
> dl-linux-imx <linux-imx@xxxxxxx>; Amit Cohen <amcohen@xxxxxxxxxx>; Gal
> Pressman <gal@xxxxxxxxxx>; Alexandru Tachici
> <alexandru.tachici@xxxxxxxxxx>; Piergiorgio Beruto
> <piergiorgio.beruto@xxxxxxxxx>; Willem de Bruijn <willemb@xxxxxxxxxx>;
> Vladimir Oltean <vladimir.oltean@xxxxxxx>
> Subject: [PATCH net-next v2 8/8] net: fec: Indicate EEE (LPI) support for some
> FEC Ethernet controllers
>
> This commit adds EEE (LPI) support indication for specific FEC Ethernet
> controllers. By indicating EEE support for these controllers, it allows PHY
> drivers to choose the right configuration for EEE and LPI features, depending
> on whether the MAC or the PHY is responsible for handling them.
>
> This change provides more flexibility and control over energy-saving features,
> enabling PHY drivers to disable SmartEEE functionality in favor of MAC EEE
> support when appropriate, depending on their specific use cases and
> requirements.
>
> Signed-off-by: Oleksij Rempel <o.rempel@xxxxxxxxxxxxxx>

Reviewed-by: Wei Fang <wei.fang@xxxxxxx>