[ovs-discuss] pop_mpls implementation

Khaled Diab khaledmdiab at hotmail.com
Mon Jul 10 21:25:29 UTC 2017


I am trying to modify how OVS pops MPLS labels. I have two questions about pop_mpls implementation:

1) What is the difference between the three functions:

datapath/actions.c: pop_mpls

lib/packets.c: pop_mpls

lib/flow.c: flow_pop_mpls

Specifically, when is each of them called? and why is there a flow_pop_mpls and pop_mpls?

When I commented the first two functions, pop_mpls action works as usual; when I commented the three functions, nothing was popped.

2) During executing pop_mpls (or flow_pop_mpls), can I output the packet to a particular port?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openvswitch.org/pipermail/ovs-discuss/attachments/20170710/af76a0a5/attachment.html>

More information about the discuss mailing list