[ovs-dev] [consistent 2/2] bond: BM_STABLE consistent hashing.

Ben Pfaff blp at nicira.com
Thu Apr 21 16:43:46 UTC 2011


On Wed, Apr 20, 2011 at 06:10:25PM -0700, Ethan Jackson wrote:
> This patch converts stable bonds from modulo n based hashing to
> Highest Random Weight based hashing.  This hashing strategy only
> redistributes 1/n_slaves traffic when a slave is enabled or
> disabled.  It also turns out to have a vastly simpler
> implementation.

In bond_reconfigure(), I no longer see any value in setting and
clearing stb_tag.  I think that you could just set to a random value
in bond_create(), like no_slaves_tag.

Otherwise looks good.  Thank you!



More information about the dev mailing list