On Thu, Feb 27, 2014 at 11:44:23AM -0800, Alex Wang wrote:
> Signed-off-by: Alex Wang <al...@nicira.com>

It would be nice to add a sentence or two to the commit message
explaining why we think it's OK to drop the distinction between the
two queues we had before (as already discussed).

The choice of hash function, in flow_hash_5tuple(), seems curious.  I
would have expected something like:

    hash = mhash_add(basis, flow->nw_src);
    hash = mhash_add(hash, flow->nw_dst);
    hash = mhash_add(hash, (flow->tp_src << 16) | flow->tp_dst);
    hash = mhash_add(hash, flow->nw_proto);
    return mhash_finish(hash, 13);

with some OVS_FORCE casts thrown in to make sparse happy.  Any
particular reason to just xor everything together?  (Do we need a
symmetric hash?)

I didn't look over the details of the queuing changes yet.
_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev

Reply via email to