Skip to content

Commit

Permalink
bonding: document undocumented active_slave sysfs entry.
Browse files Browse the repository at this point in the history
v2, based on Jay's review.

I kept the 'link must be up' part, because this is enforced in the code.

Signed-off-by: Nicolas de Pesloüan <nicolas.2p.debian@free.fr>
Signed-off-by: Jay Vosburgh <fubar@us.ibm.com>
cc: Andy Gospodarek <andy@greyhouse.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Nicolas de Pesloüan authored and David S. Miller committed Dec 27, 2011
1 parent c159d30 commit 1ba9ac7
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions Documentation/networking/bonding.txt
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,23 @@ or, for backwards compatibility, the option value. E.g.,

The parameters are as follows:

active_slave

Specifies the new active slave for modes that support it
(active-backup, balance-alb and balance-tlb). Possible values
are the name of any currently enslaved interface, or an empty
string. If a name is given, the slave and its link must be up in order
to be selected as the new active slave. If an empty string is
specified, the current active slave is cleared, and a new active
slave is selected automatically.

Note that this is only available through the sysfs interface. No module
parameter by this name exists.

The normal value of this option is the name of the currently
active slave, or the empty string if there is no active slave or
the current mode does not use an active slave.

ad_select

Specifies the 802.3ad aggregation selection logic to use. The
Expand Down

0 comments on commit 1ba9ac7

Please sign in to comment.