> On Aug 26, 2015, at 6:56 PM, Jesse Gross <[email protected]> wrote: > > On Wed, Aug 26, 2015 at 5:42 PM, Jarno Rajahalme <[email protected]> > wrote: >> Initialize the whole 'exact_match_mask' in >> mf_mask_field_and_prereqs(), as geneve options can be bigger than 16 >> bytes. >> >> Requested-by: Jesse Gross <[email protected]> >> Signed-off-by: Jarno Rajahalme <[email protected]> > > Acked-by: Jesse Gross <[email protected]> > > I think we can actually do the same memset optimization in > mf_mask_field() as well.
I moved the exact_match_mask to global scope and used it in both. I exposed the global variable in meta-flow.h and moved the initializers to meta-flow.c, and pushed to master with these changes. Thanks for the review and the improvement suggestion! Jarno _______________________________________________ dev mailing list [email protected] http://openvswitch.org/mailman/listinfo/dev
