multipath-tcp / mptcp

⚠️⚠️⚠️ Deprecated 🚫 Out-of-tree Linux Kernel implementation of MultiPath TCP. 👉 Use https://github.com/multipath-tcp/mptcp_net-next repo instead ⚠️⚠️⚠️
https://github.com/multipath-tcp/mptcp_net-next
Other
889 stars 335 forks source link

Compile to ARM64 #458

Closed eackkk closed 2 years ago

eackkk commented 2 years ago

Hi, does mptcp support arm64 architecture? I downloaded the mptcp 0.94.7 and tried to compile it into aarch64 architecture, but I found that there is no in the .config file: CONFIG_MPTCP=y CONFIG_INET_MPTCP_DIAG=y CONFIG_MPTCP_IPV6=y only: CONFIG_DEFAULT_MPTCP_PM="default" There are a small number of mptcp related strings in the compiled vmlinux, but I am not sure whether the .config display is normal When I compile menuconfig with arm64, no MPTCP related options are found

matttbe commented 2 years ago

Hi,

Did you follow steps from http://multipath-tcp.org/pmwiki.php/Users/DoItYourself ?

configure the Kernel by doing make xconfig or make menuconfig and enable MultiPath TCP:

  • You cannot set IPv6 as a module. Either compile it into the kernel, or disable it.
  • enable MPTCP protocol (Networking support -> Networking options -> TCP/IP networking -> MPTCP protocol (MPTCP)) (if you cannot find that checkbox, then you have not correctly disabled one of the above options)
  • (...)

Maybe one parent option (Networking support -> Networking options -> TCP/IP networking) is not enabled. Which "defconfig" did you use? Or are you starting from a blank .config?

make ARCH=arm64 defconfig
make ARCH=arm64 menuconfig
eackkk commented 2 years ago

Thank you for your reply, I found the answer at http://multipath-tcp.org/pmwiki.php/Users/DoItYourself I need to disable IPv6 or compile it into the kernel