]> 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)
commit82c4c8679d7ba38dbccf4b19b4156a2787c50f07
tree197f234f9fc66d923f7e16d959b807d497e43ffe
parent1cc2519a08b3372bc9aa15038341d8ce0f303dd7
parente8388513a3c4374f07d7b9a31181a0d13439d767
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>