diff options
author | Ethan Jackson <ethan@nicira.com> | 2011-11-28 13:54:08 -0800 |
---|---|---|
committer | Ethan Jackson <ethan@nicira.com> | 2012-01-23 14:29:11 -0800 |
commit | bdebeece558fbeebb87c17b11a8468d88875037d (patch) | |
tree | 685ca46e8f860338f77ee1f4769bb4452f476cde /lib/bond.h | |
parent | 26fbdf773f546f653d67f1bf022ff9021cefc062 (diff) |
lacp: Require successful LACP negotiations when configured.
In the original Open vSwitch LACP implementation, when no slaves
found a LACP partner, the LACP module would attach all of them.
This allowed the LACP bond to fall back to a standard bond when
partnered with a non-LACP switch. In practice, this has caused
confusion with marginal benefit, so this feature is removed with
this patch.
Signed-off-by: Ethan Jackson <ethan@nicira.com>
Diffstat (limited to 'lib/bond.h')
-rw-r--r-- | lib/bond.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -26,6 +26,7 @@ struct flow; struct netdev; struct ofpbuf; +enum lacp_status; /* How flows are balanced among bond slaves. */ enum bond_mode { @@ -68,7 +69,7 @@ void bond_slave_register(struct bond *, void *slave_, void bond_slave_set_netdev(struct bond *, void *slave_, struct netdev *); void bond_slave_unregister(struct bond *, const void *slave); -void bond_run(struct bond *, struct tag_set *, bool lacp_negotiated); +void bond_run(struct bond *, struct tag_set *, enum lacp_status); void bond_wait(struct bond *); void bond_slave_set_may_enable(struct bond *, void *slave_, bool may_enable); |