]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'ipv6-gre-offloads'
authorDavid S. Miller <davem@davemloft.net>
Sat, 16 Apr 2016 23:09:14 +0000 (19:09 -0400)
committerDavid S. Miller <davem@davemloft.net>
Sat, 16 Apr 2016 23:09:14 +0000 (19:09 -0400)
commit6093ccf52f25d394f1ef6e6529d930ae3e6e8041
tree197f234f9fc66d923f7e16d959b807d497e43ffe
parente576608c8acdfc40d94e4ed256c71e4c40ea2433
parentafff4c2da95dd905c1c79cf5a4ab54d6fa2df4ad
Merge branch 'ipv6-gre-offloads'

Alexander Duyck says:

====================
Add support for offloads with IPv6 GRE tunnels

This patch series enables the use of segmentation and checksum offloads
with IPv6 based GRE tunnels.

In order to enable this series I had to make a change to
iptunnel_handle_offloads so that it would no longer free the skb.  This was
necessary as there were multiple paths in the IPv6 GRE code that required
the skb to still be present so it could be freed.  As it turned out I
believe this actually fixes a bug that was present in FOU/GUE based tunnels
anyway.

Below is a quick breakdown of the performance gains seen with a simple
netperf test passing traffic through a ip6gretap tunnel and then an i40e
interface:

Throughput Throughput  Local Local   Result
           Units       CPU   Service Tag
                       Util  Demand
                       %
3544.93    10^6bits/s  6.30  4.656   "before"
13081.75   10^6bits/s  3.75  0.752   "after"
====================

Signed-off-by: David S. Miller <davem@davemloft.net>