aboutsummaryrefslogtreecommitdiff
path: root/lib/bond.h
diff options
context:
space:
mode:
authorEthan Jackson <ethan@nicira.com>2012-01-25 17:41:44 -0800
committerEthan Jackson <ethan@nicira.com>2012-01-30 13:04:41 -0800
commitbc1b010c2b8bd17973287388da8c171332b70b3f (patch)
treeac75aeef94af3929c57ec2b17bc3e1f3a9377bd8 /lib/bond.h
parent8d56fd267c001e16a8fedf1c94fac638b548ba46 (diff)
bond: Allow users to disable rebalancing.
Bond rebalances come with a risk of packet reordering which some users may find unacceptable. Requested-by: Ben Basler <bbasler@nicira.com> Signed-off-by: Ethan Jackson <ethan@nicira.com>
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 9eb1b8fb..6d8161d8 100644
--- a/lib/bond.h
+++ b/lib/bond.h
@@ -46,7 +46,8 @@ struct bond_settings {
/* Balancing configuration. */
enum bond_mode balance;
- int rebalance_interval; /* Milliseconds between rebalances. */
+ int rebalance_interval; /* Milliseconds between rebalances.
+ Zero to disable rebalancing. */
/* Link status detection. */
int up_delay; /* ms before enabling an up slave. */