diff options
author | Pierre Bourdon <delroth@gmail.com> | 2021-12-09 01:59:10 +0100 |
---|---|---|
committer | Pierre Bourdon <delroth@gmail.com> | 2021-12-09 01:59:10 +0100 |
commit | d8ba6ecab95d93e500a2d8fc4b8d4c77928b00bd (patch) | |
tree | 294479e0449bfe71d2c8290eed7310fe1d2430f0 /pkgs/os-specific | |
parent | 12d9a09d3c473cb60d8db256c89df6b3e218fa5c (diff) |
dpdk: add Mellanox support via rdma-core dependency
rdma-core contains libmlx4/libmlx5 which are required for DPDK to be able to run using Mellanox NIC devices. This has a non-trivial closure size impact (730M -> 941M) but the size increase is almost entirely driven by adding systemd to the transitive closure, which we should expect is present anyway on most NixOS systems. So, in practice, this is expected to be close to no-op in size increase.
Diffstat (limited to 'pkgs/os-specific')
-rw-r--r-- | pkgs/os-specific/linux/dpdk/default.nix | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgs/os-specific/linux/dpdk/default.nix b/pkgs/os-specific/linux/dpdk/default.nix index 81bf17b199937..650c2516ef98a 100644 --- a/pkgs/os-specific/linux/dpdk/default.nix +++ b/pkgs/os-specific/linux/dpdk/default.nix @@ -2,7 +2,7 @@ , kernel , fetchurl , pkg-config, meson, ninja -, libbsd, numactl, libbpf, zlib, libelf, jansson, openssl, libpcap +, libbsd, numactl, libbpf, zlib, libelf, jansson, openssl, libpcap, rdma-core , doxygen, python3 , withExamples ? [] , shared ? false }: @@ -36,6 +36,7 @@ in stdenv.mkDerivation rec { libpcap numactl openssl.dev + rdma-core zlib ] ++ lib.optionals mod kernel.moduleBuildDependencies; |