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:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user