[ovs-dev] Fwd: Customized match options

Raul Suarez Marin raul.suarez.marin at gmail.com
Thu Mar 5 09:05:56 UTC 2015


Thank you very much Ben, your help is appreciated

2015-03-05 2:33 GMT+01:00 Ben Pfaff <blp at nicira.com>:

> On Wed, Mar 04, 2015 at 03:21:42PM -0800, Ben Pfaff wrote:
> > On Thu, Mar 05, 2015 at 12:06:14AM +0100, Raul Suarez Marin wrote:
> > > Thank you for your fast response. I configured my ovs with
> --enable-Werror
> > > and this allowed me to fix a couple warnings (unused variables). Sadly,
> > > looks like all changes that I should have done, are already done.
> > >
> > > The changes that the FAQ proposes are related to OF messages and flow
> entry
> > > installation. Now, I am missing the actual match, somewhere where I
> get the
> > > packet, and match some bytes.
> > >
> > > P.S.: I have created:
> > > --> the MFF_ variable in "enum OVS_PACKED_ENUM mf_field_id {"
> > > --> OFPXMT12_OFB_ "enum at enum oxm12_ofb_match_fields {"
> (openflow-1.2.h)
> > > --> OXM_OF_ (openflow-1.2.h)
> > > --> NXM_OF (nicita-ext.h)
> >
> > I guess you need to update miniflow_extract() in lib/flow.c then to
> > extract your new field.  That's worth mentioning in the FAQ; I'll add
> > it.  If you want kernel support then you have to add that to the
> > kernel module also.
>
> Done:
>         http://openvswitch.org/pipermail/dev/2015-March/051997.html
>



More information about the dev mailing list