nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
fork

Configure Feed

Select the types of activity you want to include in your feed.

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.

+55 -50
+26
pkgs/os-specific/linux/kernel/linux-mptcp-94.nix
··· 1 + { stdenv, buildPackages, fetchFromGitHub, perl, buildLinux, structuredExtraConfig ? {}, ... } @ args: 2 + let 3 + mptcpVersion = "0.94.6"; 4 + modDirVersion = "4.14.127"; 5 + in 6 + buildLinux ({ 7 + version = "${modDirVersion}-mptcp_v${mptcpVersion}"; 8 + inherit modDirVersion; 9 + 10 + extraMeta = { 11 + branch = "4.4"; 12 + maintainers = with stdenv.lib.maintainers; [ teto layus ]; 13 + }; 14 + 15 + src = fetchFromGitHub { 16 + owner = "multipath-tcp"; 17 + repo = "mptcp"; 18 + rev = "v${mptcpVersion}"; 19 + sha256 = "071cx9205wpzhi5gc2da79w2abs3czd60jg0xml7j1szc5wl4yfn"; 20 + }; 21 + 22 + structuredExtraConfig = stdenv.lib.mkMerge [ 23 + (import ./mptcp-config.nix { inherit stdenv; }) 24 + structuredExtraConfig 25 + ]; 26 + } // args)
-49
pkgs/os-specific/linux/kernel/linux-mptcp.nix
··· 1 - { stdenv, buildPackages, fetchFromGitHub, perl, buildLinux, structuredExtraConfig ? {}, ... } @ args: 2 - let 3 - mptcpVersion = "0.94.4"; 4 - modDirVersion = "4.14.110"; 5 - in 6 - buildLinux ({ 7 - version = "${modDirVersion}-mptcp_v${mptcpVersion}"; 8 - inherit modDirVersion; 9 - 10 - extraMeta = { 11 - branch = "4.4"; 12 - maintainers = with stdenv.lib.maintainers; [ teto layus ]; 13 - }; 14 - 15 - src = fetchFromGitHub { 16 - owner = "multipath-tcp"; 17 - repo = "mptcp"; 18 - rev = "v${mptcpVersion}"; 19 - sha256 = "1ng6p1djhm3m5g44yyq7gpqqbzsnhm9rimsafp5g4dx8cm27a70f"; 20 - }; 21 - 22 - structuredExtraConfig = with import ../../../../lib/kernel.nix { inherit (stdenv) lib; version = null; }; 23 - stdenv.lib.mkMerge [ { 24 - IPV6 = yes; 25 - MPTCP = yes; 26 - IP_MULTIPLE_TABLES = yes; 27 - 28 - # Enable advanced path-managers... 29 - MPTCP_PM_ADVANCED = yes; 30 - MPTCP_FULLMESH = yes; 31 - MPTCP_NDIFFPORTS = yes; 32 - # ... but use none by default. 33 - # The default is safer if source policy routing is not setup. 34 - DEFAULT_DUMMY = yes; 35 - DEFAULT_MPTCP_PM.freeform = "default"; 36 - 37 - # MPTCP scheduler selection. 38 - MPTCP_SCHED_ADVANCED = yes; 39 - DEFAULT_MPTCP_SCHED.freeform = "default"; 40 - 41 - # Smarter TCP congestion controllers 42 - TCP_CONG_LIA = module; 43 - TCP_CONG_OLIA = module; 44 - TCP_CONG_WVEGAS = module; 45 - TCP_CONG_BALIA = module; 46 - } 47 - structuredExtraConfig 48 - ]; 49 - } // args)
+28
pkgs/os-specific/linux/kernel/mptcp-config.nix
··· 1 + { stdenv }: 2 + with import ../../../../lib/kernel.nix { inherit (stdenv) lib; version = null; }; 3 + { 4 + # DRM_AMDGPU = yes; 5 + 6 + IPV6 = yes; 7 + MPTCP = yes; 8 + IP_MULTIPLE_TABLES = yes; 9 + 10 + # Enable advanced path-managers... 11 + MPTCP_PM_ADVANCED = yes; 12 + MPTCP_FULLMESH = yes; 13 + MPTCP_NDIFFPORTS = yes; 14 + # ... but use none by default. 15 + # The default is safer if source policy routing is not setup. 16 + DEFAULT_DUMMY = yes; 17 + DEFAULT_MPTCP_PM.freeform = "default"; 18 + 19 + # MPTCP scheduler selection. 20 + MPTCP_SCHED_ADVANCED = yes; 21 + DEFAULT_MPTCP_SCHED.freeform = "default"; 22 + 23 + # Smarter TCP congestion controllers 24 + TCP_CONG_LIA = module; 25 + TCP_CONG_OLIA = module; 26 + TCP_CONG_WVEGAS = module; 27 + TCP_CONG_BALIA = module; 28 + }
+1 -1
pkgs/top-level/all-packages.nix
··· 15290 15290 klibcShrunk = lowPrio (callPackage ../os-specific/linux/klibc/shrunk.nix { }); 15291 15291 15292 15292 linux_mptcp = linux_mptcp_94; 15293 - linux_mptcp_94 = callPackage ../os-specific/linux/kernel/linux-mptcp.nix { 15293 + linux_mptcp_94 = callPackage ../os-specific/linux/kernel/linux-mptcp-94.nix { 15294 15294 kernelPatches = 15295 15295 [ kernelPatches.bridge_stp_helper 15296 15296 kernelPatches.cpu-cgroup-v2."4.11"