Files
linux/drivers/net
Felix Manlunas fb45f5f30a vxlan: vxlan dev should inherit lowerdev's gso_max_size
[ Upstream commit d6acfeb17d ]

vxlan dev currently ignores lowerdev's gso_max_size, which adversely
affects TSO performance of liquidio if it's the lowerdev.  Egress TCP
packets' skb->len often exceed liquidio's advertised gso_max_size.  This
may happen on other NIC drivers.

Fix it by assigning lowerdev's gso_max_size to that of vxlan dev.  Might as
well do likewise for gso_max_segs.

Single flow TSO throughput of liquidio as lowerdev (using iperf3):

    Before the patch:    139 Mbps
    After the patch :   8.68 Gbps
    Percent increase:  6,144 %

Signed-off-by: Felix Manlunas <felix.manlunas@cavium.com>
Signed-off-by: Satanand Burla <satananda.burla@cavium.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-03-22 09:23:23 +01:00
..
2015-08-13 21:12:17 -07:00
2017-06-17 06:39:35 +02:00
2018-03-03 10:19:45 +01:00
2017-10-08 10:14:18 +02:00
2018-01-31 12:06:13 +01:00
2015-10-21 19:36:10 -07:00
2014-10-07 13:22:11 -04:00
2015-07-08 16:00:09 -07:00
2017-11-18 11:11:05 +01:00
2016-04-12 09:08:58 -07:00
2017-07-05 14:37:19 +02:00