vxlan: GRO support at tunnel layer
authorTom Herbert <tom@herbertland.com>
Thu, 20 Aug 2015 00:07:33 +0000 (17:07 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sun, 23 Aug 2015 22:59:56 +0000 (15:59 -0700)
commit58ce31cca1ffe057f4744c3f671e3e84606d3d4a
tree3064292bc9c0a5a86d7120856cc8838aa2c7de61
parentb7fe10e5ebac2a3f37e95535e616494b65fa020f
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>
drivers/net/vxlan.c
include/net/vxlan.h