diff options
| author | Jesse Brandeburg <[email protected]> | 2015-10-02 01:25:42 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2015-10-05 11:31:41 +0000 |
| commit | fec31ffffa6e05845ab13908d0ac0d5a10816836 (patch) | |
| tree | edb7661ca7bca7f1e099867d6f6ccdcad58c22cb /net/unix/af_unix.c | |
| parent | Merge tag 'wireless-drivers-for-davem-2015-10-01' of git://git.kernel.org/pub... (diff) | |
| download | kernel-fec31ffffa6e05845ab13908d0ac0d5a10816836.tar.gz kernel-fec31ffffa6e05845ab13908d0ac0d5a10816836.zip | |
i40e: fix offload of GRE tunnels
The driver still was not offloading TSO on GRE tunnels because
it forgot to set the GSO_GRE flag, causing lots of retransmits.
This fixes generic GRE traffic (like a tunnel added like below)
whereas before it would get 1Gb/s or less, now on a 10G adapter
it gets 8.7Gb/s.
ip ad ad 11.1.0.2/24 dev ens2f0
ip l set ens2f0 up
ip link add gre2 type gretap remote 11.1.0.1 local 11.1.0.2 dev ens2f0
ip l set gre2 up
ip ad ad 192.168.124.2/24 dev gre2
ping 192.168.124.1
netperf -H 192.168.124.1
Signed-off-by: Jesse Brandeburg <[email protected]>
Signed-off-by: Jeff Kirsher <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
