diff options
| author | Felix Manlunas <[email protected]> | 2017-03-30 00:56:43 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2017-04-01 18:43:38 +0000 |
| commit | d6acfeb17d030bb3907e77c048b0e7783ad8e5a9 (patch) | |
| tree | bc55d69df60f67f2590cb13fee72437ad859ce52 /drivers/net/dsa/dsa_loop.c | |
| parent | sock: avoid dirtying sk_stamp, if possible (diff) | |
| download | kernel-d6acfeb17d030bb3907e77c048b0e7783ad8e5a9.tar.gz kernel-d6acfeb17d030bb3907e77c048b0e7783ad8e5a9.zip | |
vxlan: vxlan dev should inherit lowerdev's gso_max_size
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 <[email protected]>
Signed-off-by: Satanand Burla <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'drivers/net/dsa/dsa_loop.c')
0 files changed, 0 insertions, 0 deletions
