Re: [ovs-dev] [PATCH] ofproto: Fix consistent hashing

2016-07-13 Thread Ben Pfaff
On Tue, Jul 12, 2016 at 09:15:40AM +0300, Liran Schour wrote: > Hashing will not be consistent as long as we use for hashing the index of the > bucket in the list (for remove/insert of buckets not from/to the end of the > bucket list). > Use bucket_id for hashing instead. > > Signed-off-by: Liran

Re: [ovs-dev] [PATCH] ofproto: Fix consistent hashing

2016-07-11 Thread Simon Horman
On Tue, Jul 12, 2016 at 09:15:40AM +0300, Liran Schour wrote: > Hashing will not be consistent as long as we use for hashing the index of the > bucket in the list (for remove/insert of buckets not from/to the end of the > bucket list). > Use bucket_id for hashing instead. > > Signed-off-by: Liran