From c8d5abd62b70137c70bf12e83b6d0708b980abb3 Mon Sep 17 00:00:00 2001 From: Daniel Golle Date: Fri, 25 Oct 2024 18:15:41 +0100 Subject: [PATCH] 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 --- 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 # -- 2.30.2