On 18 September 2014 10:53, Ben Pfaff <b...@nicira.com> wrote:

> On Mon, Sep 15, 2014 at 02:25:12PM +1200, Joe Stringer wrote:
> > This allows us to ignore most fields of a flow_dump, requiring only the
> > flow key for looking up the ukey. Fetching flows can also be avoided in
> > the corner case where a flow is missed from a dump but revalidation is
> > required.
> >
> > A future patch will modify the datapath interface to make these cached
> > fields optional.
> >
> > Signed-off-by: Joe Stringer <joestrin...@nicira.com>
> > ---
> > v5: Switch back to checking that the mask is more specific.
> > v4: No change.
> > v3: Rebase.
> > v2: Rebase.
> > RFC: First post.
>
> In ukey_new(), you can use atomic_read_relaxed() (instead of the
> possibly more expensive atomic_read()) to read enable_megaflows.
>
> Acked-by: Ben Pfaff <b...@nicira.com>
>

Thanks, I'll fix that up.
_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev

Reply via email to