Hi Maxime, On 12/1/26, Maxime Chevallier wrote:
> I haven't looked too much into that part yet, but this seems like a shortcoming > in phylink itself. Can you look into why phylink behaves this way, and > if there's no justification, maybe address this in phylink ?
I looked, and it is on purpose. When phylink gained EEE management in 03abf2a7c654 ("net: phylink: add EEE management"), it kept the old behavior for MACs without the LPI operations, since those may still handle EEE themselves and pass get_eee/set_eee straight to the PHY. Disabling EEE in the PHY would break them. The same commit describes providing the operations with no LPI capabilities as the way for a MAC to say it has no EEE, which is what this patch does. Thanks, Joseph