Re: [ovs-dev] [PATCH v5 03/13] lib/odp-util: Refine odp_mask_attr_is_exact().

2014-09-08 Thread Jarno Rajahalme
Pushed, Jarno On Sep 8, 2014, at 2:08 PM, Ben Pfaff wrote: > On Fri, Sep 05, 2014 at 04:05:10PM -0700, Jarno Rajahalme wrote: >> 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 actuall

Re: [ovs-dev] [PATCH v5 03/13] lib/odp-util: Refine odp_mask_attr_is_exact().

2014-09-08 Thread Ben Pfaff
On Fri, Sep 05, 2014 at 04:05:10PM -0700, Jarno Rajahalme wrote: > 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 Acked-by: Ben Pfaf

[ovs-dev] [PATCH v5 03/13] lib/odp-util: Refine odp_mask_attr_is_exact().

2014-09-05 Thread Jarno Rajahalme
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 --- lib/odp-util.c | 42 +++--- 1 file changed, 27 inse