[ovs-dev] [PATCH] ovs-ofctl: Update documentation for MPLS actions.
blp at ovn.org
Tue Oct 23 16:26:28 UTC 2018
Reported-by: lidejun <lidejun1 at huawei.com>
Signed-off-by: Ben Pfaff <blp at ovn.org>
utilities/ovs-ofctl.8.in | 12 +++---------
1 file changed, 3 insertions(+), 9 deletions(-)
diff --git a/utilities/ovs-ofctl.8.in b/utilities/ovs-ofctl.8.in
index aefea16ee34d..659406de57b4 100644
@@ -922,17 +922,11 @@ its TTL is copied from the IP TTL (64 if the packet is not IP).
If the packet does already contain an MPLS label, pushes a new
outermost label as a copy of the existing outermost label.
-A limitation of the implementation is that processing of actions will stop
-if \fBpush_mpls\fR follows another \fBpush_mpls\fR unless there is a
-\fBpop_mpls\fR in between.
+OVS currently supports at most 3 MPLS labels.
-Strips the outermost MPLS label stack entry.
-Currently the implementation restricts \fIethertype\fR to a non-MPLS Ethertype
-and thus \fBpop_mpls\fR should only be applied to packets with
-an MPLS label stack depth of one. A further limitation is that processing of
-actions will stop if \fBpop_mpls\fR follows another \fBpop_mpls\fR unless
-there is a \fBpush_mpls\fR in between.
+Strips the outermost MPLS label stack entry and changes the packet's
+Ethertype to \fIethertype\fR.
Sets the source Ethernet address to \fImac\fR.
More information about the dev