[openwrt/openwrt] kernel: enable Multi-Path TCP for !SMALL_FLASH targets
LEDE Commits
lede-commits at lists.infradead.org
Sat Oct 26 11:18:02 PDT 2024
dangole pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/c8d5abd62b70137c70bf12e83b6d0708b980abb3
commit c8d5abd62b70137c70bf12e83b6d0708b980abb3
Author: Daniel Golle <daniel at makrotopia.org>
AuthorDate: Fri Oct 25 18:15:41 2024 +0100
kernel: enable Multi-Path TCP for !SMALL_FLASH targets
Expose Kernel's CONFIG_MPTCP option and enable it by default for
!SMALL_FLASH targets.
The idea behind enabling it by default is to allow users of the binary
distribution to make use of MPTCP tunneling for link aggregation.
Using MPTCP for link aggregation is an often discussed topic in the
forum and there is even a whole OpenWrt fork (MPTCPRouter) just for that.
Enabling the kernel-side of the story by default will allow using MPTCP
on vanilla OpenWrt without having to build anything from source.
See also https://openwrt.org/docs/guide-user/network/mptcp
Signed-off-by: Daniel Golle <daniel at makrotopia.org>
---
config/Config-kernel.in | 14 ++++++++++++++
1 file changed, 14 insertions(+)
diff --git a/config/Config-kernel.in b/config/Config-kernel.in
index 4bd2cde135..43ed9eaf36 100644
--- a/config/Config-kernel.in
+++ b/config/Config-kernel.in
@@ -1204,6 +1204,20 @@ config KERNEL_PAGE_POOL_STATS
bool "Page pool stats support"
depends on KERNEL_PAGE_POOL
+config KERNEL_MPTCP
+ bool "Multi-Path TCP support"
+ default y if !SMALL_FLASH
+ help
+ Select this option to enable support for Multi-Path TCP.
+ Increases the compressed kernel size by ~214kB (as of Linux 6.6).
+
+if KERNEL_IPV6
+config KERNEL_MPTCP_IPV6
+ bool "IPv6 support for Multipath TCP"
+ depends on KERNEL_MPTCP
+ default KERNEL_MPTCP
+endif
+
#
# NFS related symbols
#
More information about the lede-commits
mailing list