Re: [ovs-dev] [PATCH 7/7] meta-flow: Add mf_mask_subfield_wc()

2014-02-13 Thread Jarno Rajahalme
I tested again with some different parameters, and this actually made the performance little worse, so I’m holding off on this patch for now. Jarno On Feb 11, 2014, at 5:43 PM, Ben Pfaff wrote: > On Tue, Feb 11, 2014 at 04:30:49PM -0800, Jarno Rajahalme wrote: >> The code setting wc masks sh

Re: [ovs-dev] [PATCH 7/7] meta-flow: Add mf_mask_subfield_wc()

2014-02-11 Thread Ben Pfaff
On Tue, Feb 11, 2014 at 04:30:49PM -0800, Jarno Rajahalme wrote: > The code setting wc masks shows up in 'perf' reports. This patch streamlines > the code and avoids setting the mask bits for registers or metadata, as > those fields do not exist on datapaths. > > Signed-off-by: Jarno Rajahalme

[ovs-dev] [PATCH 7/7] meta-flow: Add mf_mask_subfield_wc()

2014-02-11 Thread Jarno Rajahalme
The code setting wc masks shows up in 'perf' reports. This patch streamlines the code and avoids setting the mask bits for registers or metadata, as those fields do not exist on datapaths. Signed-off-by: Jarno Rajahalme --- lib/learn.c |4 +- lib/meta-flow.c |