diff options
author | Tom Herbert <tom@herbertland.com> | 2015-08-20 00:07:33 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-08-23 22:59:56 (GMT) |
commit | 58ce31cca1ffe057f4744c3f671e3e84606d3d4a (patch) | |
tree | 3064292bc9c0a5a86d7120856cc8838aa2c7de61 /include/net/vxlan.h | |
parent | b7fe10e5ebac2a3f37e95535e616494b65fa020f (diff) | |
download | linux-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.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net/vxlan.h b/include/net/vxlan.h index 43677e6..6b32345 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; |