]> git.baikalelectronics.ru Git - kernel.git/commit
net: ipv6/gre: Add GRO support
authorEran Ben Elisha <eranbe@mellanox.com>
Mon, 7 May 2018 07:45:27 +0000 (10:45 +0300)
committerDavid S. Miller <davem@davemloft.net>
Tue, 8 May 2018 03:50:27 +0000 (23:50 -0400)
commitf46b28baf6aba857a5999547a0c6ba38cac0a6ed
tree694dac22c6fd289ad2adf675bea54c17531fd43e
parent37da2ff119d366e21096d8d70d49abef9a94d3f3
net: ipv6/gre: Add GRO support

Add GRO capability for IPv6 GRE tunnel and ip6erspan tap, via gro_cells
infrastructure.

Performance testing: 55% higher badwidth.
Measuring bandwidth of 1 thread IPv4 TCP traffic over IPv6 GRE tunnel
while GRO on the physical interface is disabled.
CPU: Intel Xeon E312xx (Sandy Bridge)
NIC: Mellanox Technologies MT27700 Family [ConnectX-4]
Before (GRO not working in tunnel) : 2.47 Gbits/sec
After  (GRO working in tunnel)     : 3.85 Gbits/sec

Signed-off-by: Eran Ben Elisha <eranbe@mellanox.com>
Signed-off-by: Tariq Toukan <tariqt@mellanox.com>
CC: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/ip6_gre.c