Re: [Intel-wired-lan] [PATCH] e1000e: Power cycle phy on PM resume

From: Paul Menzel
Date: Thu Sep 24 2020 - 09:02:40 EST


Dear Andrew,


Am 23.09.20 um 21:28 schrieb Andrew Lunn:
How much does this increase the resume time?

Define resume time? Until you get the display manager unlock screen?
Or do you need working networking?

Until network is functional again. Currently, the speed negotiation alone takes three(?) seconds, so making it even longer is unacceptable. (You wrote it below.)

It takes around 1.5 seconds for auto negotiation to get a link. I know
it takes me longer than that to move my fingers to the keyboard and
type in my password to unlock the screen. So by the time you actually
get to see your desktop, you should have link.

Not here.

I've no idea about how the e1000e driver does link negotiation. But
powering the PHY off means there is going to be a negotiation sometime
later. But if you don't turn it off, the driver might be able to avoid
doing an autoneg if the PHY has already done one when it got powered
up.

Indeed.


Kind regards,

Paul