Re: [ovs-dev] [PATCH v2 17/26] ofproto-dpif-xlate: Hash only fields specified for 'hash' selection method.

2016-07-29 Thread Ben Pfaff
On Thu, Jul 28, 2016 at 05:56:09PM -0700, Jarno Rajahalme wrote: > The mask for non-present fields in struct field_array is always zero, > so hashing a prerequisite field that was not also specified for the > "hash" selection method boiled down to hashing a all-zeroes value and > unwildcarding the

[ovs-dev] [PATCH v2 17/26] ofproto-dpif-xlate: Hash only fields specified for 'hash' selection method.

2016-07-28 Thread Jarno Rajahalme
The mask for non-present fields in struct field_array is always zero, so hashing a prerequisite field that was not also specified for the "hash" selection method boiled down to hashing a all-zeroes value and unwildcarding the prerequisite field. Now that mf_are_prereqs_ok() already takes care of