Thread (5 messages) flat view 5 messages, 4 authors, 2012-12-21

Re: bonding driver - how to recognize the active slave

From: Eric Dumazet <hidden>
Date: 2012-12-20 21:19:33

On Thu, 2012-12-20 at 20:38 +0000, Erez Shitrit wrote:
Hi,
Is there any way to know who is the active slave in active-passive mode?

Is there any indication for that in netdevice flags? Or some other way?
(I would like to get in my network interface driver which can be a slave of the bonding interface)

I saw that there is the flag IFF_SLAVE_INACTIVE but it is not used as far as I can see.

cat /sys/class/net/bond0/bonding/active_slave
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help