summaryrefslogtreecommitdiff
path: root/include/net/vxlan.h
diff options
context:
space:
mode:
authorTom Herbert <tom@herbertland.com>2015-08-20 03:07:33 +0300
committerDavid S. Miller <davem@davemloft.net>2015-08-24 01:59:56 +0300
commit58ce31cca1ffe057f4744c3f671e3e84606d3d4a (patch)
tree3064292bc9c0a5a86d7120856cc8838aa2c7de61 /include/net/vxlan.h
parentb7fe10e5ebac2a3f37e95535e616494b65fa020f (diff)
downloadlinux-58ce31cca1ffe057f4744c3f671e3e84606d3d4a.tar.xz
vxlan: GRO support at tunnel layer
Add calls to gro_cells infrastructure to do GRO when receiving on a tunnel. Testing: Ran 200 netperf TCP_STREAM instance - With fix (GRO enabled on VXLAN interface) Verify GRO is happening. 9084 MBps tput 3.44% CPU utilization - Without fix (GRO disabled on VXLAN interface) Verified no GRO is happening. 9084 MBps tput 5.54% CPU utilization Signed-off-by: Tom Herbert <tom@herbertland.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/vxlan.h')
-rw-r--r--include/net/vxlan.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net/vxlan.h b/include/net/vxlan.h
index 43677e6b9c43..6b3234599a2c 100644
--- a/include/net/vxlan.h
+++ b/include/net/vxlan.h
@@ -161,6 +161,7 @@ struct vxlan_dev {
struct timer_list age_timer;
spinlock_t hash_lock;
unsigned int addrcnt;
+ struct gro_cells gro_cells;
struct vxlan_config cfg;