mirror of
https://github.com/kiddin9/op-packages.git
synced 2026-10-31 16:35:13 +08:00
🌴 Sync 2026-07-14 04:31:14
This commit is contained in:
1 parent
e652a38f70
commit
fd29dc0037
47 files changed
+926
-789
No files matched your search
@@ -202,6 +202,12 @@ interface_multipath_settings() {
|
||||
uci -q set openmptcprouter.${config}.multipath="$mode"
|
||||
}
|
||||
[ "$mode" != "off" ] && {
|
||||
# LRO, TSO and UFO break MPTCP packets scheduling, always disable them on multipath interfaces
|
||||
[ -n "$iface" ] && {
|
||||
for offload in lro tso ufo; do
|
||||
ethtool -K $iface $offload off >/dev/null 2>&1
|
||||
done
|
||||
}
|
||||
[ -n "$mptcpintf" ] && mptcpintf="$mptcpintf $iface"
|
||||
[ -z "$mptcpintf" ] && mptcpintf="$iface"
|
||||
[ -z "$mptcpmintf" ] && mptcpmintf="$config"
|
||||
|
||||
Reference in new issue
Block a user