From 912c19381faa71daa27148ff58f09ee758420fb5 Mon Sep 17 00:00:00 2001 From: Simon Horman Date: Wed, 11 Dec 2013 10:23:36 +0900 Subject: [PATCH] ovs-ofctl: Update push_mpls documentation * The ethertype of the packet is always set to the ethertype of the push_mpls action * Drop references to unicast and multicast MPLS ethertypes, in RFC5332 0x8847 and 0x8848 do not always have those meanings. Signed-off-by: Simon Horman Signed-off-by: Ben Pfaff --- utilities/ovs-ofctl.8.in | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/utilities/ovs-ofctl.8.in b/utilities/ovs-ofctl.8.in index 6f2382bdb..411ad6479 100644 --- a/utilities/ovs-ofctl.8.in +++ b/utilities/ovs-ofctl.8.in @@ -1195,14 +1195,14 @@ allows isn't supported at the moment.) A priority of zero and the tag of zero are used for the new tag. . .IP \fBpush_mpls\fR:\fIethertype\fR -If the packet does not already contain any MPLS labels, changes the -packet's Ethertype to \fIethertype\fR, which must be either the MPLS -unicast Ethertype \fB0x8847\fR or the MPLS multicast Ethertype -\fB0x8848\fR, and then pushes an initial label stack entry. The label -stack entry's default label is 2 if the packet contains IPv6 and 0 -otherwise, its default traffic control value is the low 3 bits of the -packet's DSCP value (0 if the packet is not IP), and its TTL is copied -from the IP TTL (64 if the packet is not IP). +Changes the packet's Ethertype to \fIethertype\fR, which must be either +\fB0x8847\fR or \fB0x8848\fR, and pushes an MPLS LSE. +.IP +If the packet does not already contain any MPLS labels then an initial +label stack entry is pushed. The label stack entry's label is 2 if the +packet contains IPv6 and 0 otherwise, its default traffic control value is +the low 3 bits of the packet's DSCP value (0 if the packet is not IP), and +its TTL is copied from the IP TTL (64 if the packet is not IP). .IP If the packet does already contain an MPLS label, pushes a new outermost label as a copy of the existing outermost label. -- 2.20.1