From patchwork Mon Dec 26 23:35:24 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Nicolas_de_Peslo=C3=BCan?= X-Patchwork-Id: 133289 X-Patchwork-Delegate: davem@davemloft.net Return-Path: X-Original-To: patchwork-incoming@ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id BE7A1B7025 for ; Tue, 27 Dec 2011 10:36:10 +1100 (EST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753455Ab1LZXgE (ORCPT ); Mon, 26 Dec 2011 18:36:04 -0500 Received: from smtp09.smtpout.orange.fr ([80.12.242.131]:19348 "EHLO smtp.smtpout.orange.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752552Ab1LZXgD (ORCPT ); Mon, 26 Dec 2011 18:36:03 -0500 Received: from localhost.localdomain ([86.208.15.31]) by mwinf5d32 with ME id Dzbz1i0010gCeMA03zbzoA; Tue, 27 Dec 2011 00:36:00 +0100 From: =?UTF-8?q?Nicolas=20de=20Peslo=C3=BCan?= To: netdev@vger.kernel.org Cc: =?UTF-8?q?Nicolas=20de=20Peslo=C3=BCan?= , Jay Vosburgh , Andy Gospodarek Subject: [PATCH V2] bonding: document undocumented active_slave sysfs entry. Date: Tue, 27 Dec 2011 00:35:24 +0100 Message-Id: <1324942524-32116-1-git-send-email-nicolas.2p.debian@free.fr> X-Mailer: git-send-email 1.7.7.3 In-reply-to: <1324901955-5816-1-git-send-email-nicolas.2p.debian@free.fr> MIME-Version: 1.0 Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org 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 Signed-off-by: Jay Vosburgh cc: Andy Gospodarek --- Documentation/networking/bonding.txt | 17 +++++++++++++++++ 1 files changed, 17 insertions(+), 0 deletions(-) diff --git a/Documentation/networking/bonding.txt b/Documentation/networking/bonding.txt index 91df678..067e715 100644 --- a/Documentation/networking/bonding.txt +++ b/Documentation/networking/bonding.txt @@ -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