Re: [PATCH net-next 14/14] net: bcmgenet: revise suspend/resume

From: Florian Fainelli
Date: Thu Mar 06 2025 - 15:29:24 EST


On 3/6/25 11:26, Doug Berger wrote:
If the network interface is configured for Wake-on-LAN we should
avoid bringing the interface down and up since it slows the time
to reestablish network traffic on resume.

Redundant calls to phy_suspend() and phy_resume() are removed
since they are already invoked from within phy_stop() and
phy_start() called from bcmgenet_netif_stop() and
bcmgenet_netif_start().

Signed-off-by: Doug Berger <opendmb@xxxxxxxxx>

Reviewed-by: Florian Fainelli <florian.fainelli@xxxxxxxxxxxx>
--
Florian