netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Nicolas de Pesloüan" <nicolas.2p.debian@free.fr>
To: netdev@vger.kernel.org
Cc: "Nicolas de Pesloüan" <nicolas.2p.debian@free.fr>,
	"Jay Vosburgh" <fubar@us.ibm.com>,
	"Andy Gospodarek" <andy@greyhouse.net>
Subject: [PATCH] bonding: document undocumented active_slave sysfs entry.
Date: Mon, 26 Dec 2011 13:19:15 +0100	[thread overview]
Message-ID: <1324901955-5816-1-git-send-email-nicolas.2p.debian@free.fr> (raw)

Signed-off-by: Nicolas de Pesloüan <nicolas.2p.debian@free.fr>
cc: Jay Vosburgh <fubar@us.ibm.com>
cc: Andy Gospodarek <andy@greyhouse.net>

---
 Documentation/networking/bonding.txt |   14 ++++++++++++++
 1 files changed, 14 insertions(+), 0 deletions(-)

diff --git a/Documentation/networking/bonding.txt b/Documentation/networking/bonding.txt
index 91df678..83b44c2 100644
--- a/Documentation/networking/bonding.txt
+++ b/Documentation/networking/bonding.txt
@@ -196,6 +196,20 @@ or, for backwards compatibility, the option value.  E.g.,
 
 	The parameters are as follows:
 
+active_slave
+
+	Specifies the active slave for modes that support it (active-backup,
+	balance-alb and balance-tlb). The possible values are one of the
+	currently enslaved slaves. The selected slave must be up and the
+	underlying link must be up too.
+	
+	Note that this is only available through the sysfs interface. No module
+	parameter by that name exists.
+
+	The default value is empty (no active slave). It will automatically be
+	set every time an active slave is selected by normal bonding operation.
+	The current active slave can be read from this sysfs entry.
+
 ad_select
 
 	Specifies the 802.3ad aggregation selection logic to use.  The
-- 
1.7.7.3

             reply	other threads:[~2011-12-26 12:27 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-12-26 12:19 Nicolas de Pesloüan [this message]
2011-12-26 20:20 ` [PATCH] bonding: document undocumented active_slave sysfs entry David Miller
2011-12-26 21:10 ` Jay Vosburgh
2011-12-26 22:51   ` Nicolas de Pesloüan
2011-12-26 23:35 ` [PATCH V2] " Nicolas de Pesloüan
2011-12-27  1:09   ` David Miller

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=1324901955-5816-1-git-send-email-nicolas.2p.debian@free.fr \
    --to=nicolas.2p.debian@free.fr \
    --cc=andy@greyhouse.net \
    --cc=fubar@us.ibm.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).