From: Poornima Kamath <poornimak@gslab.com>
To: netdev@vger.kernel.org
Subject: Detecting backup slaves of bonding interface in network driver
Date: Thu, 11 Dec 2008 18:04:31 +0530 [thread overview]
Message-ID: <494108D7.3040304@gslab.com> (raw)
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
next reply other threads:[~2008-12-11 13:07 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-12-11 12:34 Poornima Kamath [this message]
2008-12-11 16:35 ` Detecting backup slaves of bonding interface in network driver 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=494108D7.3040304@gslab.com \
--to=poornimak@gslab.com \
--cc=netdev@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).