Re: [ovs-dev] [PATCH] vxlan: Fix for the packet loop issue in vxlan

2018-06-14 Thread Neelakantam Gaddam
Thanks for your feedback. This means that recent kernel changes might have fixed the issue. I will see if there is any generic solution for the issue. On Thu, Jun 14, 2018 at 8:09 AM, Pravin Shelar wrote: > On Wed, Jun 13, 2018 at 5:16 AM, Neelakantam Gaddam > wrote: > > It should be Qdisc's

Re: [ovs-dev] [PATCH] vxlan: Fix for the packet loop issue in vxlan

2018-06-13 Thread Pravin Shelar
On Wed, Jun 13, 2018 at 5:16 AM, Neelakantam Gaddam wrote: > It should be Qdisc's busylock in dev_queue_xmit function. I have seen the > issue in kernel version is 3.10.87 vanilla. > I see, This looks like general problem which exist in upstream kernel. You would be able to reproduce it even

Re: [ovs-dev] [PATCH] vxlan: Fix for the packet loop issue in vxlan

2018-06-13 Thread Neelakantam Gaddam
It should be Qdisc's busylock in dev_queue_xmit function. I have seen the issue in kernel version is 3.10.87 vanilla. On Wed, Jun 13, 2018 at 12:21 PM, Pravin Shelar wrote: > On Tue, Jun 12, 2018 at 10:58 PM, Neelakantam Gaddam > wrote: > > Hi Pravin, > > > > I have seen the below crash. > >

Re: [ovs-dev] [PATCH] vxlan: Fix for the packet loop issue in vxlan

2018-06-13 Thread Pravin Shelar
On Tue, Jun 12, 2018 at 10:58 PM, Neelakantam Gaddam wrote: > Hi Pravin, > > I have seen the below crash. > > [] show_stack+0x6c/0xf8 > > [] do_raw_spin_lock+0x168/0x170 > > [] dev_queue_xmit+0x43c/0x470 > > [] ip_finish_output+0x250/0x490 > > [] rpl_iptunnel_xmit+0x134/0x218 [openvswitch] > > []

Re: [ovs-dev] [PATCH] vxlan: Fix for the packet loop issue in vxlan

2018-06-12 Thread Neelakantam Gaddam
Hi Pravin, I have seen the below crash. [] show_stack+0x6c/0xf8 [] do_raw_spin_lock+0x168/0x170 [] dev_queue_xmit+0x43c/0x470 [] ip_finish_output+0x250/0x490 [] rpl_iptunnel_xmit+0x134/0x218 [openvswitch] [] rpl_vxlan_xmit+0x430/0x538 [openvswitch] [] do_execute_actions+0x18f8/0x19e8

Re: [ovs-dev] [PATCH] vxlan: Fix for the packet loop issue in vxlan

2018-06-12 Thread Pravin Shelar
On Tue, Jun 12, 2018 at 10:11 AM, Neelakantam Gaddam wrote: > > Hi Pravin, > > The below configuration is causing the spinlock recursion issue. > > I am able to see the issue with below configuration. > > > > ovs-vsctl add-br br0 > > ovs-vsctl add-bond br0 bond0 p1p1 p1p2 > > ovs-vsctl set port

Re: [ovs-dev] [PATCH] vxlan: Fix for the packet loop issue in vxlan

2018-06-12 Thread Neelakantam Gaddam
Hi Pravin, The below configuration is causing the spinlock recursion issue. I am able to see the issue with below configuration. ovs-vsctl add-br br0 ovs-vsctl add-bond br0 bond0 p1p1 p1p2 ovs-vsctl set port bond0 lacp=active bond_mode=balance-tcp ifconfig br0 100.0.0.1 up ovs-vsctl

Re: [ovs-dev] [PATCH] vxlan: Fix for the packet loop issue in vxlan

2018-06-12 Thread Pravin Shelar
On Tue, May 22, 2018 at 10:16 PM, Neelakantam Gaddam wrote: > This patch fixes the kernel soft lockup issue with vxlan configuration > where the tunneled packet is sent on the same bridge where vxlan port is > attched to. It detects the loop in vxlan xmit functionb and drops if loop > is >

Re: [ovs-dev] [PATCH] vxlan: Fix for the packet loop issue in vxlan

2018-06-11 Thread Neelakantam Gaddam
Any update on this patch ? On Wed, 23 May 2018 at 10:46 AM, Neelakantam Gaddam wrote: > This patch fixes the kernel soft lockup issue with vxlan configuration > where the tunneled packet is sent on the same bridge where vxlan port is > attched to. It detects the loop in vxlan xmit functionb and

[ovs-dev] [PATCH] vxlan: Fix for the packet loop issue in vxlan

2018-05-22 Thread Neelakantam Gaddam
This patch fixes the kernel soft lockup issue with vxlan configuration where the tunneled packet is sent on the same bridge where vxlan port is attched to. It detects the loop in vxlan xmit functionb and drops if loop is detected. Signed-off-by: Neelakantam Gaddam ---