[ovs-discuss] Packet drop when output to multiple VXLAN tunnel

f 62 mailtov16 at gmail.com
Thu Apr 13 17:27:43 UTC 2017


Hi Joe,

   PFA ovs-vswitchd log. Below is the dmesg o/p which I see:

[293509.618593] openvswitch: netlink: Flow actions may not be safe on all
matching packets.
[293510.618750] openvswitch: netlink: Flow actions may not be safe on all
matching packets.
[293511.618896] openvswitch: netlink: Flow actions may not be safe on all
matching packets.
[293512.619036] openvswitch: netlink: Flow actions may not be safe on all
matching packets.
[293513.619190] openvswitch: netlink: Flow actions may not be safe on all
matching packets.
[293514.619358] openvswitch: netlink: Flow actions may not be safe on all
matching packets.
[293515.619483] openvswitch: netlink: Flow actions may not be safe on all
matching packets.
[293894.778529] openvswitch: netlink: Flow actions may not be safe on all
matching packets.
[293895.778746] openvswitch: netlink: Flow actions may not be safe on all
matching packets.




On Thu, Apr 13, 2017 at 10:55 PM, Joe Stringer <joe at ovn.org> wrote:

> On 13 April 2017 at 08:58, f 62 <mailtov16 at gmail.com> wrote:
> > Hi ,
> >
> >     OVS is dropping packet when packet is output to multiple VXLAN
> tunnel. I
> > see following error:
> >
> > 2017-04-13T15:49:30.112Z|03577|dpif(handler15)|WARN|system at ovs-system:
> > failed to put[create] (Invalid argument)
> > ufid:7e404481-148c-4cee-9495-237bdc62383d
> > recirc_id(0),dp_hash(0/0),skb_priority(0/0),in_port(10),skb_
> mark(0/0),ct_state(0/0),ct_zone(0/0),ct_mark(0/0),ct_
> label(0/0),eth(src=fa:16:3e:c0:5a:48,dst=fa:16:3e:4c:54:
> 07),eth_type(0x0800),ipv4(src=51.0.0.8,dst=51.0.0.5,proto=6,
> tos=0/0xfc,ttl=64,frag=no),tcp(src=41564,dst=80),tcp_flags(0/0),
> > actions:set(eth(src=fa:16:3e:c0:5a:48,dst=fa:16:3e:db:81:
> 44)),set(tunnel(tun_id=0x2,src=192.168.2.91,dst=192.168.
> 2.177,ttl=64,flags(df|key))),push_mpls(label=511,tc=0,ttl=
> 255,bos=1,eth_type=0x8847),8,set(tunnel(tun_id=0x2,src=192.
> 168.2.91,dst=192.168.2.141,ttl=64,flags(df|key))),8,pop_
> mpls(eth_type=0x800),recirc(0x7)
> > 2017-04-13T15:49:30.112Z|03578|dpif(handler15)|WARN|system at ovs-system:
> > execute
> > set(eth(src=fa:16:3e:c0:5a:48,dst=fa:16:3e:db:81:44)),set(
> tunnel(tun_id=0x2,src=192.168.2.91,dst=192.168.2.177,ttl=64,
> flags(df|key))),push_mpls(label=511,tc=0,ttl=255,bos=1,
> eth_type=0x8847),8,set(tunnel(tun_id=0x2,src=192.168.2.91,
> dst=192.168.2.141,ttl=64,flags(df|key))),8,pop_mpls(
> eth_type=0x800),recirc(0x7)
> > failed (Invalid argument) on packet
>
> Hmm, once the push_mpls() happens, you should be able to output fine
> but I'm not sure if the subsequent set(tunnel(...)) would know how to
> change the tunnel attributes since it's now an MPLS packet. Maybe the
> userspace translation code needs to be taught to be a bit smarter to
> generate better actions for this case, eg something more like:
>
> set(eth(...)),set(tunnel(...)),push_mpls(...),output(...),
> pop_mpls(...),set(tunnel(...)),push_mpls(...),output(...),...
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openvswitch.org/pipermail/ovs-discuss/attachments/20170413/0107cadc/attachment-0003.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ovs-vswitchd.log
Type: text/x-log
Size: 1931516 bytes
Desc: not available
URL: <http://mail.openvswitch.org/pipermail/ovs-discuss/attachments/20170413/0107cadc/attachment-0003.bin>


More information about the discuss mailing list