[ovs-dev] Q on sending packets from the system running ovs

Ben Pfaff blp at nicira.com
Wed Feb 15 20:38:24 UTC 2012


lib/nx-match.def got deleted, now the relevant information is in
lib/meta-flow.[ch] and that is what you should update.

On Feb 15, 2012, at 12:30 PM, <Ravi.Kerur at telekom.com> wrote:

> Hi Justin,
> 
> While going through your changes for nicira ext for ip_ttl, I see your changes has nx-match.def file. However, this file is not visible if I checkout via git/snapshot. I believe it is needed when adding mpls related match?
> 
> Thanks
> Ravi
> 
> -----Original Message-----
> From: dev-bounces at openvswitch.org [mailto:dev-bounces at openvswitch.org] On Behalf Of Justin Pettit
> Sent: Tuesday, February 14, 2012 3:10 PM
> To: Ben Pfaff
> Cc: dev at openvswitch.org; Kerur, Ravi
> Subject: Re: [ovs-dev] Q on sending packets from the system running ovs
> 
> On Feb 14, 2012, at 11:05 AM, Ben Pfaff wrote:
> 
>> On Tue, Feb 14, 2012 at 08:01:58PM +0100, Ravi.Kerur at telekom.com wrote:
>>> I started comparing the code base(my code base and latest), so far
>>> the changes I suspect is in ofp_match structure. I am not sure
>>> whether the fields I have added for mpls has anything to do with the
>>> vlan match problem. I have looked into specific 'c' code
>>> lib/classifier.c and lib/ofp-util.c related to dl_vlan and
>>> dl_vlan_pcp, I don't see any difference.
>> 
>> You must not change ofp_match, because its format is fixed by the
>> OpenFlow 1.0 standard and there is no mechanism for extending it.
>> Instead, you should define and use NXM ("Nicira Extensible Match")
>> fields, which are extensible.  OpenFlow 1.2 adopts an NXM variant
>> called OXM that includes definitions for MPLS; you should adapt those
>> to NXM.
> 
> Ravi, you may want to look at an example where we added a new match.  For example, commit a61680c (Support matching and modifying IP TTL.) adds an NXM field and modifies the kernel.
> 
> --Justin
> 
> 
> _______________________________________________
> dev mailing list
> dev at openvswitch.org
> http://openvswitch.org/mailman/listinfo/dev




More information about the dev mailing list