Re: [ovs-dev] why the behavior for weigh=0 for group's dp_hash method is different with default selection method?

2019-06-07 Thread Ben Pfaff
On Wed, May 29, 2019 at 08:05:13PM +0800, ychen wrote: > hi, >I noticed that we can set bucket's weight to 0 when add/mod group. >1. when we use default select method, and when all the buckets with weight > larger than 0 change to dead, > we can still pick the bucket whose weight is

[ovs-dev] why the behavior for weigh=0 for group's dp_hash method is different with default selection method?

2019-05-29 Thread ychen
hi, I noticed that we can set bucket's weight to 0 when add/mod group. 1. when we use default select method, and when all the buckets with weight larger than 0 change to dead, we can still pick the bucket whose weight is 0. here is the code: