dpdk-kmods: init at 2021-04-21

In the last release dpdk moved the uio_igb driver to a different package
Without it dpdk is not very useful.

+37 -1
+34
pkgs/os-specific/linux/dpdk-kmods/default.nix
··· 1 + { lib, stdenv, fetchzip, kernel }: 2 + 3 + stdenv.mkDerivation rec { 4 + pname = "dpdk-kmods"; 5 + version = "2021-04-21"; 6 + 7 + src = fetchzip { 8 + url = "http://git.dpdk.org/dpdk-kmods/snapshot/dpdk-kmods-e13d7af77a1bf98757f85c3c4083f6ee6d0d2372.tar.xz"; 9 + sha256 = "sha256-8ysWT3X3rIyUAo4/QbkX7cQq5iFeU18/BPsmmWugcIc="; 10 + }; 11 + 12 + hardeningDisable = [ "pic" ]; 13 + 14 + KSRC = "${kernel.dev}/lib/modules/${kernel.modDirVersion}/build"; 15 + 16 + nativeBuildInputs = kernel.moduleBuildDependencies; 17 + 18 + preBuild = "cd linux/igb_uio"; 19 + 20 + installPhase = '' 21 + make -C ${KSRC} M=$(pwd) modules_install 22 + ''; 23 + 24 + INSTALL_MOD_PATH = placeholder "out"; 25 + enableParallelBuilding = true; 26 + 27 + meta = with lib; { 28 + description = "Kernel modules for DPDK"; 29 + homepage = "https://git.dpdk.org/dpdk-kmods/"; 30 + license = licenses.gpl2Only; 31 + maintainers = [ maintainers.mic92 ]; 32 + platforms = platforms.linux; 33 + }; 34 + }
+3 -1
pkgs/top-level/all-packages.nix
··· 20675 20675 20676 20676 digimend = callPackage ../os-specific/linux/digimend { }; 20677 20677 20678 - dpdk = callPackage ../os-specific/linux/dpdk { }; 20678 + dpdk-kmods = callPackage ../os-specific/linux/dpdk-kmods { }; 20679 + 20680 + dpdk = throw "The dpdk driver has been renamed to dpdk-mods."; 20679 20681 20680 20682 exfat-nofuse = callPackage ../os-specific/linux/exfat { }; 20681 20683