On Wed, Oct 30, 2013 at 06:17:20PM +0900, Simon Horman wrote:
> Signed-off-by: Simon Horman
I adjusted this for highest-random weight, which just meant that I
changed the scoring function to:
uint32_t score = (hash_int(i, basis) & 0x) * bucket->weight;
and then I adjusted the test
Signed-off-by: Simon Horman
---
v8
* First post
---
ofproto/ofproto-dpif-xlate.c | 24 ++--
ofproto/ofproto.c| 3 ++-
tests/ofproto-dpif.at| 12
tests/ofproto.at | 2 +-
4 files changed, 33 insertions(+), 8 deletions(-)
diff --