aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/bonding/bonding.h
diff options
context:
space:
mode:
authorstephen hemminger <shemminger@vyatta.com>2011-06-22 05:54:39 -0400
committerDavid S. Miller <davem@davemloft.net>2011-06-23 05:12:55 -0400
commit655f8919d549ad1872e24d826b6ce42530516d2e (patch)
tree00ecb9724df0f4d162ea7de10fbf74d659e35cfd /drivers/net/bonding/bonding.h
parent56f8a75c17abb854b5907f4a815dc4c3f186ba11 (diff)
bonding: add min links parameter to 802.3ad
This adds support for a configuring 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. See: http://bugzilla.vyatta.com/show_bug.cgi?id=7196 Signed-off-by: Stephen Hemminger <shemminger@vyatta.com> Signed-off-by: Flavio Leitner <fbl@redhat.com> Signed-off-by: Andy Gospodarek <andy@greyhouse.net> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/bonding/bonding.h')
-rw-r--r--drivers/net/bonding/bonding.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/bonding/bonding.h b/drivers/net/bonding/bonding.h
index 382903f0562e..2936171f5332 100644
--- a/drivers/net/bonding/bonding.h
+++ b/drivers/net/bonding/bonding.h
@@ -147,6 +147,7 @@ struct bond_params {
147 int updelay; 147 int updelay;
148 int downdelay; 148 int downdelay;
149 int lacp_fast; 149 int lacp_fast;
150 unsigned int min_links;
150 int ad_select; 151 int ad_select;
151 char primary[IFNAMSIZ]; 152 char primary[IFNAMSIZ];
152 int primary_reselect; 153 int primary_reselect;