Make GSO adaptive

This commit is contained in:
世界
2024-11-22 17:17:01 +08:00
parent 2a48c837bb
commit 9abc3aaa90
23 changed files with 188 additions and 128 deletions

View File

@@ -14,7 +14,6 @@ icon: material/new-box
"system": false,
"name": "",
"mtu": 1408,
"gso": false,
"address": [],
"private_key": "",
"listen_port": 10000,
@@ -36,6 +35,10 @@ icon: material/new-box
}
```
!!! note ""
You can ignore the JSON Array [] tag when the content is only one item
### Fields
#### system
@@ -54,14 +57,6 @@ WireGuard MTU.
`1408` will be used by default.
#### gso
!!! quote ""
Only supported on Linux.
Try to enable generic segmentation offload.
#### address
==Required==

View File

@@ -14,7 +14,6 @@ icon: material/new-box
"system": false,
"name": "",
"mtu": 1408,
"gso": false,
"address": [],
"private_key": "",
"listen_port": 10000,
@@ -36,6 +35,10 @@ icon: material/new-box
}
```
!!! note ""
当内容只有一项时,可以忽略 JSON 数组 [] 标签
### 字段
#### system_interface
@@ -54,14 +57,6 @@ WireGuard MTU。
默认使用 1408。
#### gso
!!! quote ""
仅支持 Linux。
尝试启用通用分段卸载。
#### address
==必填==