[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <7a17486d-2fee-47cb-eddc-b000e8b6d332@gmail.com>
Date: Thu, 27 Aug 2020 12:29:49 +0200
From: Heiner Kallweit <hkallweit1@...il.com>
To: Rasmus Villemoes <rasmus.villemoes@...vas.dk>,
Network Development <netdev@...r.kernel.org>
Cc: Lasse Klok Mikkelsen <Lasse.Klok@...vas.se>
Subject: Re: powering off phys on 'ip link set down'
On 27.08.2020 12:08, Rasmus Villemoes wrote:
> Hi,
>
> We have a requirement that when an interface is taken down
> administratively, the phy should be powered off. That also works when
> the interface has link when the 'ip link set down ...' is run. But if
> there's no cable plugged in, the phy stays powered on (as can be seen
> both using phytool, and from the fact that a peer gets carrier once a
> cable is later plugged in).
>
> Is this expected behaviour? Driver/device dependent? Can we do anything
> to force the phy off?
>
This may be MAC/PHY-driver dependent. Which driver(s) do we talk about?
Also it may depend on whether Runtime PM is active for a PCI network
device. In addition WoL should be disabled.
> Thanks,
> Rasmus
>
Heiner
Powered by blists - more mailing lists