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:
@@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user