]> git.proxmox.com Git - mirror_ovs.git/commit - lib/odp-util.c
lib/odp-util: Refine odp_mask_attr_is_exact().
authorJarno Rajahalme <jrajahalme@nicira.com>
Fri, 5 Sep 2014 22:44:20 +0000 (15:44 -0700)
committerJarno Rajahalme <jrajahalme@nicira.com>
Mon, 8 Sep 2014 22:02:06 +0000 (15:02 -0700)
commit260974dcdfd707a8ee82ec97713211b76b08c82b
tree98bbbba2f7b95c00a6039de28d1a90d444e0aa72
parent53cb9c3edc3cc5ec323a1c0b21315e6ded61dadd
lib/odp-util: Refine odp_mask_attr_is_exact().

Some attributes are exact matches even when all bits are not ones.
Make odp_mask_attr_is_exact() to return true if the mask is set for
all the bits we actually care about.

Signed-off-by: Jarno Rajahalme <jrajahalme@nicira.com>
Acked-by: Ben Pfaff <blp@nicira.com>
lib/odp-util.c