[ovs-dev] [PATCH 1/2] [RFC] Add OXM_OF_* definitions

Simon Horman horms at verge.net.au
Wed Apr 25 00:16:39 UTC 2012


On Tue, Apr 24, 2012 at 09:11:53AM -0700, Ben Pfaff wrote:
> On Tue, Apr 24, 2012 at 10:32:54AM +0900, Simon Horman wrote:
> > These oxm_type definitions values will may be used
> > when parsing serialising OXM TLVs.
> > 
> > Signed-off-by: Simon Horman <horms at verge.net.au>
> 
> How did you generate this?  Comparing it visually against the output
> of:
> 
>         grep '#define OXM_OF_' include/openflow/openflow.h
> 
> I see at least two important differences: you give OXM_OF_IPV6_FLABEL
> a width of 5 but OF1.2 gives it a width of 4, and you give
> OXM_OF_MPLS_LABEL a width of 5 but OF1.2 gives it a width of 4.

Hi Ben,

I generated it by hand, which appears to have been error prone.



More information about the dev mailing list