From: Eric Dumazet <erdnetdev@gmail.com>
To: Erez Shitrit <erezsh@mellanox.com>
Cc: "netdev@vger.kernel.org" <netdev@vger.kernel.org>
Subject: Re: bonding driver - how to recognize the active slave
Date: Thu, 20 Dec 2012 13:19:30 -0800 [thread overview]
Message-ID: <1356038370.21834.3315.camel@edumazet-glaptop> (raw)
In-Reply-To: <BA0B6857ABCA474FB07F0DA6F50A3077918B2450@MTRDAG01.mtl.com>
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
next prev parent reply other threads:[~2012-12-20 21:19 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-12-20 20:38 bonding driver - how to recognize the active slave Erez Shitrit
2012-12-20 21:19 ` Eric Dumazet [this message]
2012-12-20 22:21 ` Or Gerlitz
2012-12-20 22:52 ` Eric Dumazet
2012-12-21 11:34 ` Jiri Pirko
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=1356038370.21834.3315.camel@edumazet-glaptop \
--to=erdnetdev@gmail.com \
--cc=erezsh@mellanox.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