]> git.baikalelectronics.ru Git - kernel.git/commit
bonding: add min links parameter to 802.3ad
authorstephen hemminger <shemminger@vyatta.com>
Wed, 22 Jun 2011 09:54:39 +0000 (09:54 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 23 Jun 2011 09:12:55 +0000 (02:12 -0700)
commit9e6eb1af663bcabe658b4d62f072a8b53d59fc7e
tree00ecb9724df0f4d162ea7de10fbf74d659e35cfd
parentbf4f16222c9e44584e1592ba5c9ea1a7951aedea
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>
drivers/net/bonding/bond_3ad.c
drivers/net/bonding/bond_main.c
drivers/net/bonding/bond_procfs.c
drivers/net/bonding/bond_sysfs.c
drivers/net/bonding/bonding.h