[ovs-dev] [PATCH] ofp-actions: Add comments to struct ofpact_learn_spec.
Ben Pfaff
blp at nicira.com
Mon Jun 10 17:39:59 UTC 2013
Thanks! Applied to master.
On Fri, Jun 07, 2013 at 04:39:36PM -0700, Ansis Atteka wrote:
> Acked-by: Ansis Atteka <aatteka at nicira.com>
>
>
> On Fri, Jun 7, 2013 at 10:14 AM, Ben Pfaff <blp at nicira.com> wrote:
>
> > Signed-off-by: Ben Pfaff <blp at nicira.com>
> > ---
> > lib/ofp-actions.h | 12 ++++++------
> > 1 files changed, 6 insertions(+), 6 deletions(-)
> >
> > diff --git a/lib/ofp-actions.h b/lib/ofp-actions.h
> > index 9a74bcc..4e7fb5c 100644
> > --- a/lib/ofp-actions.h
> > +++ b/lib/ofp-actions.h
> > @@ -385,14 +385,14 @@ struct ofpact_resubmit {
> >
> > /* Part of struct ofpact_learn, below. */
> > struct ofpact_learn_spec {
> > - int n_bits;
> > + int n_bits; /* Number of bits in source and dest. */
> >
> > - int src_type;
> > - struct mf_subfield src;
> > - union mf_subvalue src_imm;
> > + int src_type; /* One of NX_LEARN_SRC_*. */
> > + struct mf_subfield src; /* NX_LEARN_SRC_FIELD only. */
> > + union mf_subvalue src_imm; /* NX_LEARN_SRC_IMMEDIATE only. */
> >
> > - int dst_type;
> > - struct mf_subfield dst;
> > + int dst_type; /* One of NX_LEARN_DST_*. */
> > + struct mf_subfield dst; /* NX_LEARN_DST_MATCH, NX_LEARN_DST_LOAD
> > only. */
> > };
> >
> > /* OFPACT_LEARN.
> > --
> > 1.7.2.5
> >
> > _______________________________________________
> > dev mailing list
> > dev at openvswitch.org
> > http://openvswitch.org/mailman/listinfo/dev
> >
More information about the dev
mailing list