Re: [ovs-dev] [PATCH v2] vxlan: Optimize vxlan rcv

2013-10-15 Thread Pravin Shelar
Thanks, I pushed it to master. On Fri, Oct 11, 2013 at 2:44 PM, Jesse Gross wrote: > On Fri, Oct 11, 2013 at 12:40 PM, Pravin B Shelar wrote: >> vxlan-udp-recv function lookup vxlan_sock struct on every packet >> recv by using udp-port number. we can use sk->sk_user_data to >> store vxlan_sock a

Re: [ovs-dev] [PATCH v2] vxlan: Optimize vxlan rcv

2013-10-11 Thread Jesse Gross
On Fri, Oct 11, 2013 at 12:40 PM, Pravin B Shelar wrote: > vxlan-udp-recv function lookup vxlan_sock struct on every packet > recv by using udp-port number. we can use sk->sk_user_data to > store vxlan_sock and avoid lookup. > > This commit also allows us to get rid of socket hash table. > > Signe

[ovs-dev] [PATCH v2] vxlan: Optimize vxlan rcv

2013-10-11 Thread Pravin B Shelar
vxlan-udp-recv function lookup vxlan_sock struct on every packet recv by using udp-port number. we can use sk->sk_user_data to store vxlan_sock and avoid lookup. This commit also allows us to get rid of socket hash table. Signed-off-by: Pravin B Shelar --- datapath/linux/Modules.mk