[ovs-dev] [PATCH] match: Correct formatting of MPLS
Ben Pfaff
blp at nicira.com
Wed Apr 24 17:22:27 UTC 2013
On Wed, Apr 24, 2013 at 06:02:35PM +0900, Simon Horman wrote:
> 1. mpls or mplsm should be included in the formatted match instead of
> dl_type=0xXXXX if the dl_type of the match is ETH_TYPE_MPLS or
> ETH_TYPE_MPLS_MCAST respectively. This is consistent with the treatment
> of other dl_types in match_format().
>
> 2. Add formatting of MPLS TTL to match_format().
> The format is mpls_ttl=YY.
>
> 3. Set the mpls_lse mask of a match to all 1's if
> the dl_type of the flow is ETH_TYPE_MPLS or ETH_TYPE_MPLS_MCAST.
> This will cause mpls_label=LLLL,mpls_tc=W,mpls_ttl=YY,mpls_bos=Z to
> be included with the match is formatted.
>
> 4. mpls(label:LLLL,tc:W,ttl:TT,bos:Z) and
> mplsm(label:LLLL,tc:W,ttl:TT,bos:Z) should not be included
> in a formatted match as this is not consistent with the
> formatting of other match elements.
>
> Signed-off-by: Simon Horman <horms at verge.net.au>
Applied to master, thank you!
More information about the dev
mailing list