[ovs-discuss] problem with multiple pop_mpls

Ahmed Medhat a.medhat.h at gmail.com
Thu Nov 14 09:14:16 UTC 2019


Hi Adel,

I expect you are using the kernel datapath type which has basic
support to mpls. You can use the userspace datapath typeif you need
multiple mpls pushing/popping.

ovs-vsctl add-br br0 -- set bridge <bridge name> datapath_type=netdev

Best regards,
Ahmed

On Wed, Nov 13, 2019 at 6:46 PM Adel Belkhiri <adel.belkhiri at gmail.com> wrote:
>
> Hi All,
>
> I have an issue with popping multiple mpls headers with ovs. The pushing via push_mpls works fine but the popping via pop_mpls triggers a warning in the log and the operation is not accomplished.
>
> |WARN|system at ovs-system: execute pop_mpls(eth_type=0x8847),pop_mpls (eth_type=0x800),2 failed (Invalid argument) on packet mpls,vlan_tci=0x0000, dl_src=ba:bd:0d:9d:c5:ee,dl_dst=ea:f5:19:d4:e2:4f,mpls_label=15,mpls_tc=0,mpls_ttl=64,mpls_bos=0,mpls_lse1=45376 with metadata skb_priority(0),skb_mark(0), in_port(1) mtu 0
>
> I'm using the last version of OVS : 2.12.90. My OpenFlow rules are the following :
>
> sudo ovs-ofctl add-flow $S1 "table=0,in_port=$S1_ETH2,eth_type=0x8847,mpls_bos=1,actions=pop_mpls:0x8847,resubmit(,0)"
> sudo ovs-ofctl add-flow $S1 "table=0,in_port=$S1_ETH2,eth_type=0x8847,mpls_bos=0,actions=pop_mpls:0x800,output:$S1_ETH1"
>
>
> Any hint how to solve this?
>
> Many thanks.
> Adele.
> _______________________________________________
> discuss mailing list
> discuss at openvswitch.org
> https://mail.openvswitch.org/mailman/listinfo/ovs-discuss


More information about the discuss mailing list