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. There's no need to add code for matching or comparing fields; the classifier does that for you. _______________________________________________ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev