Thread (49 messages) 49 messages, 4 authors, 2023-05-31

Re: [RFC/RFTv3 00/24] net: ethernet: Rework EEE

From: Andrew Lunn <andrew@lunn.ch>
Date: 2023-05-26 12:08:11

On Fri, May 26, 2023 at 10:56:04AM +0200, Oleksij Rempel wrote:
Hi Andrew,

On Fri, Mar 31, 2023 at 02:54:54AM +0200, Andrew Lunn wrote:
quoted
Most MAC drivers get EEE wrong. The API to the PHY is not very
obvious, which is probably why. Rework the API, pushing most of the
EEE handling into phylib core, leaving the MAC drivers to just
enable/disable support for EEE in there change_link call back, or
phylink mac_link_up callback.

MAC drivers are now expect to indicate to phylib/phylink if they
support EEE. If not, no EEE link modes are advertised. If the MAC does
support EEE, on phy_start()/phylink_start() EEE advertisement is
configured.

v3
--
 
I was able to test some drivers and things seems to work ok so far. Do you
need more tests for a non RFC version?
No, i just need time to rebase and post them. Plus check if there are
more drivers which added support for EEE and fix them up. There is a
new Broadcom driver which i think will need work.

Hopefully next week i can do this.

	  Andrew
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help