Thread (35 messages) flat view 35 messages, 6 authors, 2012-12-18

Re: [patch net-next 0/4] net: allow to change carrier from userspace

From: Flavio Leitner <hidden>
Date: 2012-12-13 18:17:42

On Thu, 13 Dec 2012 10:09:33 -0800
Stephen Hemminger [off-list ref] wrote:
On Thu, 13 Dec 2012 15:54:23 -0200
Flavio Leitner [off-list ref] wrote:
quoted
I am saying this because people are used to and there are scripts out
there using something like:
# ethtool <iface> | grep 'Link'
to react an interface failure.
Then the script is broken. It is asking about hardware state.
I was talking about the team master interface, so it makes sense
to check its 'hardware' state. Just think on 'bond0' interface
with no slaves. It should report Link detected: no.

See bond_release(), what happens if bond->slave_cnt == 0, for instance.

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