diff options
author | Ethan Jackson <ethan@nicira.com> | 2011-04-14 17:37:29 -0700 |
---|---|---|
committer | Ethan Jackson <ethan@nicira.com> | 2011-04-15 11:15:57 -0700 |
commit | e1e90548952cbf11c5d2cf32e1d20b160130572d (patch) | |
tree | 695335186378c0e4f0dbfaf796450800b4f59db8 /lib/bond.h | |
parent | 5827ce14d087a18ede839c39ce3438e0b0e6f717 (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.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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 *); |