]> git.proxmox.com Git - mirror_ovs.git/commit - lib/ovs-numa.c
ovs-numa: Don't use hmap_first_with_hash().
authorDaniele Di Proietto <diproiettod@vmware.com>
Tue, 29 Nov 2016 22:51:03 +0000 (14:51 -0800)
committerDaniele Di Proietto <diproiettod@vmware.com>
Mon, 16 Jan 2017 03:25:12 +0000 (19:25 -0800)
commit0900ca8e6447baa0c06ccbe25fa1948f88224948
tree7587e0250fb09537c7341a6ac1f4a5f336e4f817
parentdbedeb9dd4cc799a2f2097457f73e7f1922bc8a4
ovs-numa: Don't use hmap_first_with_hash().

I think it's better to iterate the hmap than to use
hmap_first_with_hash(), because it handles hash collisions.

Signed-off-by: Daniele Di Proietto <diproiettod@vmware.com>
Acked-by: Ilya Maximets <i.maximets@samsung.com>
lib/ovs-numa.c