Dear openvswitch developers,
I used v2.17.2 and tried to use the feature: "Encap & Decap action support for MPLS packet type." included in v2.17.0 to encapuslate L2 packet into MPLS. It works fine with Ethernet packet without vlan tag, but failed otherwise.Trace:ovs-appctl ofproto/trace BR0 in_port=p2 ffffffffffff02061a010421810000640806000108000604000102061a0104213200000100000000000032000002
Flow: arp,in_port=2,dl_vlan=100,dl_vlan_pcp=0,vlan_tci1=0x0000,dl_src=02:06:1a:01:04:21,dl_dst=ff:ff:ff:ff:ff:ff,arp_spa=50.0.0.1,arp_tpa=50.0.0.2,arp_op=1,arp_sha=02:06:1a:01:04:21,arp_tha=00:00:00:00:00:00
bridge("BR0")
-------------
0. priority 1
resubmit(,2)
2. in_port=2,vlan_tci=0x0064/0x0fff, priority 3000
load:0x8->NXM_NX_REG3[]
resubmit(,15)
15. reg3=0x8,dl_vlan=100, priority 32768
encap(mpls)
set_field:8->mpls_label
encap(ethernet)
set_field:02:06:1a:01:0b:88->eth_dst
set_field:02:06:1a:01:06:c8->eth_src
output:1
Final flow: mpls,reg3=0x8,in_port=2,dl_vlan=100,dl_vlan_pcp=0,vlan_tci1=0x0000,dl_src=02:06:1a:01:06:c8,dl_dst=02:06:1a:01:0b:88,mpls_label=8,mpls_tc=0,mpls_ttl=64,mpls_bos=1
Megaflow: recirc_id=0,eth,arp,in_port=2,dl_vlan=100,dl_src=02:06:1a:01:04:21,dl_dst=ff:ff:ff:ff:ff:ff
Datapath actions: add_mpls(label=8,tc=0,ttl=64,bos=1,eth_type=0x8847),push_eth(src=""> Action execution failed (Protocol error)ovs-vswitchd.log:
2022-09-02T11:46:19.087Z|00001|dpif(handler16)|WARN|system@ovs-system: execute add_mpls(label=0,tc=0,ttl=64,bos=1,eth_type=0x8847),push_eth(src="" failed (Protocol error) on packet ip,dl_vlan=100,dl_vlan_pcp=0,vlan_tci1=0x0000,dl_src=02:06:1a:01:04:21,dl_dst=01:00:5e:00:00:05,nw_src=50.0.0.1,nw_dst=224.0.0.5,nw_proto=89,nw_tos=192,nw_ecn=0,nw_ttl=1Any ideas how to solve this problem?Thanks!Harbor
_______________________________________________ discuss mailing list [email protected] https://mail.openvswitch.org/mailman/listinfo/ovs-discuss
