datapath: Remove tunnel header caching.
authorPravin B Shelar <pshelar@nicira.com>
Mon, 5 Nov 2012 21:44:00 +0000 (13:44 -0800)
committerPravin B Shelar <pshelar@nicira.com>
Mon, 5 Nov 2012 21:44:00 +0000 (13:44 -0800)
commit05a9d485c061495d0ba83bff7e26d6eb077688aa
tree9b3ddaf80d2542b225b7ca565c4cd1bd0477ddf5
parent51f4701be1545a3faa288dfe3993221a6a2fd81c
datapath: Remove tunnel header caching.

Tunnel caching was added to reduce CPU utilization on TX path
by caching packet header, So performance gain is directly proportional
to number of skbs transferred.  But with help of offloads skb are getting
larger. So there are less number of skbs.  Therefore header caching does
not shows similar gains we seen in past.  And now kernel 3.6 has removed
dst caching from networking which makes header caching even more tricky.
So this commit removes header caching from OVS tunnelling.

Signed-off-by: Pravin B Shelar <pshelar@nicira.com>
Acked-by: Jesse Gross <jesse@nicira.com>
NEWS
datapath/tunnel.c
datapath/tunnel.h
datapath/vport-capwap.c
datapath/vport-gre.c
debian/changelog
include/openvswitch/tunnel.h
lib/netdev-vport.c
vswitchd/vswitch.xml