mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-22 05:19:00 +02:00
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.
This commit is contained in:
parent
12d9a09d3c
commit
d8ba6ecab9
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue