forked fromtorvalds/linux
- Notifications
You must be signed in to change notification settings - Fork1
Commitd6acfeb
vxlan: vxlan dev should inherit lowerdev's gso_max_size
vxlan dev currently ignores lowerdev's gso_max_size, which adverselyaffects TSO performance of liquidio if it's the lowerdev. Egress TCPpackets' skb->len often exceed liquidio's advertised gso_max_size. Thismay happen on other NIC drivers.Fix it by assigning lowerdev's gso_max_size to that of vxlan dev. Might aswell 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>1 parent6c7c98b commitd6acfeb
1 file changed
+5
-0
lines changedOriginal file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2926 | 2926 |
| |
2927 | 2927 |
| |
2928 | 2928 |
| |
| 2929 | + | |
| 2930 | + | |
| 2931 | + | |
| 2932 | + | |
| 2933 | + | |
2929 | 2934 |
| |
2930 | 2935 |
| |
2931 | 2936 |
| |
|
0 commit comments
Comments
(0)