netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Detecting backup slaves of bonding interface in network driver
@ 2008-12-11 12:34 Poornima Kamath
  2008-12-11 16:35 ` Jay Vosburgh
  0 siblings, 1 reply; 5+ messages in thread
From: Poornima Kamath @ 2008-12-11 12:34 UTC (permalink / raw)
  To: netdev


Hi,
I have a network driver which creates virtual ethernet interfaces. I am 
using the bonding driver in the active backup mode for failover.
I want to detect the interfaces which are backup slaves in the driver.
I found that the  bonding driver sets the IFF_SLAVE_INACTIVE private 
flag of net_device structure for all the backup slaves.
But I dont see any callbacks in my driver when this flag is set.
I am planning to check the netdevice flags in the driver. Is it 
recommended to check the private flags of net_device ?
Or is there some better way in which I can find the backup slaves?

Thanks,
Poornima

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2008-12-29 10:28 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-12-11 12:34 Detecting backup slaves of bonding interface in network driver Poornima Kamath
2008-12-11 16:35 ` Jay Vosburgh
     [not found]   ` <4942663A.3080801@gslab.com>
2008-12-12 16:37     ` Jay Vosburgh
2008-12-29 10:28       ` Poornima Kamath
2008-12-15  5:08   ` Poornima Kamath

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).