From patchwork Wed Aug 3 20:02:19 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: 108318 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 55AADB71DC for ; Thu, 4 Aug 2011 06:02:53 +1000 (EST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754061Ab1HCUCs (ORCPT ); Wed, 3 Aug 2011 16:02:48 -0400 Received: from smtp6-g21.free.fr ([212.27.42.6]:54825 "EHLO smtp6-g21.free.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752742Ab1HCUCr (ORCPT ); Wed, 3 Aug 2011 16:02:47 -0400 Received: from localhost.localdomain (unknown [88.175.177.37]) by smtp6-g21.free.fr (Postfix) with ESMTP id 51F44822A2; Wed, 3 Aug 2011 22:02:39 +0200 (CEST) From: =?UTF-8?q?Nicolas=20de=20Peslo=C3=BCan?= To: davem@davemloft.net Cc: fubar@us.ibm.com, andy@greyhouse.net, netdev@vger.kernel.org, shemminger@vyatta.com, =?UTF-8?q?Nicolas=20de=20Peslo=C3=BCan?= Subject: [PATCH] bonding: document two undocumented options. Date: Wed, 3 Aug 2011 22:02:19 +0200 Message-Id: <1312401739-4188-1-git-send-email-nicolas.2p.debian@free.fr> X-Mailer: git-send-email 1.7.5.4 In-Reply-To: <20110803.034425.1421983987148421662.davem@davemloft.net> References: <20110803.034425.1421983987148421662.davem@davemloft.net> MIME-Version: 1.0 Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org Commit 655f8919d549ad1872e24d826b6ce42530516d2e bonding: add min links parameter to 802.3ad and commit ebd8e4977a87cb81d93c62a9bff0102a9713722f bonding: add all_slaves_active parameter introduced new options to bonding, but didn't provide the documentation for those options. V2 : add the default value for both options. Signed-off-by: Nicolas de Pesloüan --- Documentation/networking/bonding.txt | 24 ++++++++++++++++++++++++ 1 files changed, 24 insertions(+), 0 deletions(-) diff --git a/Documentation/networking/bonding.txt b/Documentation/networking/bonding.txt index 675612f..480af6e 100644 --- a/Documentation/networking/bonding.txt +++ b/Documentation/networking/bonding.txt @@ -238,6 +238,18 @@ ad_select This option was added in bonding version 3.4.0. +all_slaves_active + + Specifies that duplicate frames (received on inactive ports) should be + dropped (0) or delivered (1). + + Normally, bonding will drop duplicate frames (received on inactive + ports), which is desirable for most users. But there are some times + it is nice to allow duplicate frames to be delivered. + + The default value is 0 (drop duplicate frames received on inactive + ports). + arp_interval Specifies the ARP link monitoring frequency in milliseconds. @@ -433,6 +445,18 @@ miimon determined. See the High Availability section for additional information. The default value is 0. +min_links + + Specifies the minimum number of links that must be active before + asserting carrier. It is similar to the Cisco EtherChannel min-links + feature. This allows setting the minimum number of member ports that + must be up (link-up state) before marking the bond device as up + (carrier on). This is useful for situations where higher level services + such as clustering want to ensure a minimum number of low bandwidth + links are active before switchover. The default value is 1. + + This option only affect 802.3ad mode. + mode Specifies one of the bonding policies. The default is