Re: [ovs-dev] [PATCH v2 20/26] meta-flow: Compact struct field_array.

2016-07-29 Thread Ben Pfaff
On Thu, Jul 28, 2016 at 05:56:12PM -0700, Jarno Rajahalme wrote: > struct field_array is included in each ofgroup, but the current > implementation is very sparse, using more than 20kb of data. > > Also loop over 1-bits instead of each and every MF type to make > processing faster. > >

[ovs-dev] [PATCH v2 20/26] meta-flow: Compact struct field_array.

2016-07-28 Thread Jarno Rajahalme
struct field_array is included in each ofgroup, but the current implementation is very sparse, using more than 20kb of data. Also loop over 1-bits instead of each and every MF type to make processing faster. Signed-off-by: Jarno Rajahalme --- include/openvswitch/meta-flow.h | 6