aboutsummaryrefslogtreecommitdiff
path: root/lib/bond.h
diff options
context:
space:
mode:
authorEthan Jackson <ethan@nicira.com>2011-04-12 17:53:24 -0700
committerEthan Jackson <ethan@nicira.com>2011-04-12 17:53:24 -0700
commit59d7b2b65665d5d0db9a348789f7eba4b3f16d54 (patch)
tree72d256595e07829508f71cb480dca47c34a6dd5c /lib/bond.h
parenta64e37a1d3990b9c2524d166119cb5564dc5d96c (diff)
bond: Reconfigure flows when bond mode changes.
Changes in the bonding mode can cause drastic changes in flow assignments to slaves. This commit causes all flows in a bridge to be revalidated when bond_reconfigure() changes its bonding mode. This approach is a bit aggressive, but bond reconfiguration shouldn't happen often.
Diffstat (limited to 'lib/bond.h')
-rw-r--r--lib/bond.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bond.h b/lib/bond.h
index 7e44deea..8d2f8c9e 100644
--- a/lib/bond.h
+++ b/lib/bond.h
@@ -75,7 +75,7 @@ void bond_init(void);
struct bond *bond_create(const struct bond_settings *);
void bond_destroy(struct bond *);
-void bond_reconfigure(struct bond *, const struct bond_settings *);
+bool bond_reconfigure(struct bond *, const struct bond_settings *);
void bond_slave_register(struct bond *, void *slave_, struct netdev *,
const struct lacp_slave_settings *);
void bond_slave_unregister(struct bond *, const void *slave);