vxlan: Optimize vxlan rcv
authorPravin B Shelar <pshelar@nicira.com>
Fri, 11 Oct 2013 19:40:13 +0000 (12:40 -0700)
committerJesse Gross <jesse@nicira.com>
Wed, 27 Nov 2013 04:29:25 +0000 (20:29 -0800)
commit862504c5c2a52b248d9032326727f594b44d3b79
tree05ff3c82ecd77bfcf1422bab263d67fc7bed2c58
parentb4fa9d4064a4725f70eba594cf9d25165647e99d
vxlan: Optimize vxlan rcv

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 <pshelar@nicira.com>
Acked-by: Jesse Gross <jesse@nicira.com>
datapath/linux/Modules.mk
datapath/linux/compat/include/net/sock.h [new file with mode: 0644]
datapath/linux/compat/vxlan.c