aboutsummaryrefslogtreecommitdiff
path: root/lib/bond.h
diff options
context:
space:
mode:
authorEthan Jackson <ethan@nicira.com>2011-04-14 17:37:29 -0700
committerEthan Jackson <ethan@nicira.com>2011-04-15 11:15:57 -0700
commite1e90548952cbf11c5d2cf32e1d20b160130572d (patch)
tree695335186378c0e4f0dbfaf796450800b4f59db8 /lib/bond.h
parent5827ce14d087a18ede839c39ce3438e0b0e6f717 (diff)
bond: Create new 'stable_id' parameter.
For BM_STABLE bonds, instead of choosing the sort key in the qsort() comparator, this patch makes it a configuration setting of each slave. This will help wrest LACP out of the bonding code further in future patches.
Diffstat (limited to 'lib/bond.h')
-rw-r--r--lib/bond.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/bond.h b/lib/bond.h
index cb6563af..e3690cee 100644
--- a/lib/bond.h
+++ b/lib/bond.h
@@ -75,7 +75,8 @@ struct bond *bond_create(const struct bond_settings *);
void bond_destroy(struct bond *);
bool bond_reconfigure(struct bond *, const struct bond_settings *);
-void bond_slave_register(struct bond *, void *slave_, struct netdev *);
+void bond_slave_register(struct bond *, void *slave_,
+ uint16_t stable_id, struct netdev *);
void bond_slave_unregister(struct bond *, const void *slave);
void bond_run(struct bond *, struct tag_set *);