[ovs-dev] [PATCH 2/5] datapath: Use unicast Netlink sockets for upcalls.

Ben Pfaff blp at nicira.com
Thu Sep 22 20:58:08 UTC 2011


On Thu, Sep 22, 2011 at 01:50:26PM -0700, Jesse Gross wrote:
> On Thu, Sep 22, 2011 at 11:33 AM, Ben Pfaff <blp at nicira.com> wrote:
> > In find_dpif(), as a micro-optimization you could use
> > HMAP_FOR_EACH_IN_BUCKET in place of HMAP_FOR_EACH_WITH_HASH.
> 
> You mean because comparing the ifindex is just as cheap as comparing a
> hash and doing both is redundant?

Yes.



More information about the dev mailing list