Thread (6 messages) flat view 6 messages, 2 authors, 2020-08-27

powering off phys on 'ip link set down'

From: Rasmus Villemoes <hidden>
Date: 2020-08-27 10:08:39

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?

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