diff options
author | Matthieu Coudron <mattator@gmail.com> | 2019-06-24 11:49:11 +0900 |
---|---|---|
committer | Matthieu Coudron <mattator@gmail.com> | 2019-06-24 11:49:11 +0900 |
commit | ea8a4fca07647837559e8e1f936faafc726081cd (patch) | |
tree | 4e4fa36f0cdfb618fa5784c027c24a65ec5e6898 /pkgs/os-specific/linux/kernel/mptcp-config.nix | |
parent | b24d5e48b9a3914d2e2c2f87245a036bc3a6dca6 (diff) | |
download | nixpkgs-ea8a4fca07647837559e8e1f936faafc726081cd.tar nixpkgs-ea8a4fca07647837559e8e1f936faafc726081cd.tar.gz nixpkgs-ea8a4fca07647837559e8e1f936faafc726081cd.tar.bz2 nixpkgs-ea8a4fca07647837559e8e1f936faafc726081cd.tar.lz nixpkgs-ea8a4fca07647837559e8e1f936faafc726081cd.tar.xz nixpkgs-ea8a4fca07647837559e8e1f936faafc726081cd.tar.zst nixpkgs-ea8a4fca07647837559e8e1f936faafc726081cd.zip |
linux_mptcp_94: 0.94.4 -> 0.94.6
Also move to a pkgs/os-specific/linux/kernel/linux-mptcp-94.nix. makes updates easier. Added a structured config pkgs/os-specific/linux/kernel/mptcp-config.nix that can be shared between the different kernels.
Diffstat (limited to 'pkgs/os-specific/linux/kernel/mptcp-config.nix')
-rw-r--r-- | pkgs/os-specific/linux/kernel/mptcp-config.nix | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/pkgs/os-specific/linux/kernel/mptcp-config.nix b/pkgs/os-specific/linux/kernel/mptcp-config.nix new file mode 100644 index 00000000000..e5e3ee283ff --- /dev/null +++ b/pkgs/os-specific/linux/kernel/mptcp-config.nix @@ -0,0 +1,28 @@ +{ stdenv }: +with import ../../../../lib/kernel.nix { inherit (stdenv) lib; version = null; }; +{ + # DRM_AMDGPU = yes; + + IPV6 = yes; + MPTCP = yes; + IP_MULTIPLE_TABLES = yes; + + # Enable advanced path-managers... + MPTCP_PM_ADVANCED = yes; + MPTCP_FULLMESH = yes; + MPTCP_NDIFFPORTS = yes; + # ... but use none by default. + # The default is safer if source policy routing is not setup. + DEFAULT_DUMMY = yes; + DEFAULT_MPTCP_PM.freeform = "default"; + + # MPTCP scheduler selection. + MPTCP_SCHED_ADVANCED = yes; + DEFAULT_MPTCP_SCHED.freeform = "default"; + + # Smarter TCP congestion controllers + TCP_CONG_LIA = module; + TCP_CONG_OLIA = module; + TCP_CONG_WVEGAS = module; + TCP_CONG_BALIA = module; +} |