Skip to content

Commit

Permalink
ovs-ofctl: Update documentation for MPLS actions.
Browse files Browse the repository at this point in the history
Reported-by: lidejun <lidejun1@huawei.com>
Signed-off-by: Ben Pfaff <blp@ovn.org>
Acked-by: Justin Pettit <jpettit@ovn.org>
  • Loading branch information
blp committed Oct 26, 2018
1 parent e612dd2 commit 23b9ac1
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions utilities/ovs-ofctl.8.in
Expand Up @@ -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.
.IP
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.
.
.IP \fBpop_mpls\fR:\fIethertype\fR
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.
.
.IP \fBmod_dl_src\fB:\fImac\fR
Sets the source Ethernet address to \fImac\fR.
Expand Down

0 comments on commit 23b9ac1

Please sign in to comment.