aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorTom Herbert <tom@herbertland.com>2015-08-19 17:07:33 -0700
committerDavid S. Miller <davem@davemloft.net>2015-08-23 15:59:56 -0700
commit58ce31cca1ffe057f4744c3f671e3e84606d3d4a (patch)
tree3064292bc9c0a5a86d7120856cc8838aa2c7de61 /include
parentgro: Fix remcsum offload to deal with frags in GRO (diff)
downloadlinux-dev-58ce31cca1ffe057f4744c3f671e3e84606d3d4a.tar.xz
linux-dev-58ce31cca1ffe057f4744c3f671e3e84606d3d4a.zip
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')
-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;