2
0
mirror of https://github.com/openvswitch/ovs synced 2025-08-31 06:15:47 +00:00

hash: Add hash_add64().

Add support for adding 64-bit words to hashes.  This will be used by
subsequent patches.

Signed-off-by: Jarno Rajahalme <jrajahalme@nicira.com>
Acked-by: Ben Pfaff <blp@nicira.com>
This commit is contained in:
Jarno Rajahalme
2015-01-06 11:10:42 -08:00
parent 4ad07ad7c1
commit aae7c34f04
3 changed files with 28 additions and 12 deletions

View File

@@ -1367,8 +1367,7 @@ netdev_flow_mask_init(struct netdev_flow_key *mask,
mask->mf.values_inline = true;
mask->mf.map = mask_map;
hash = hash_add(hash, mask_map);
hash = hash_add(hash, mask_map >> 32);
hash = hash_add64(hash, mask_map);
n = dst - mask->mf.inline_values;