Commit Graph

59 Commits

Author SHA1 Message Date
Nicolas Benes
203e5461b2 dpdk: simplify optimization for CPU family
Make it easier optimize DPDK for a CPU family. The conservative default
remains (e.g. nehalem for x86_64), but a user may override it for better
utilization of recent CPU models, e.g. `{ machine = "x86-64-v4"; }` for
AVX512 support.
2023-01-22 02:02:17 +01:00
Nicolas Benes
118290c00a dpdk: 22.07 -> 22.11.1
Latest LTS release.

https://doc.dpdk.org/guides-22.11/rel_notes/release_22_11.html
2023-01-22 00:51:19 +01:00
Jörg Thalheim
6c346e3fa5 dpdk: update kernel version constraint. 2022-10-31 14:03:22 +01:00
Jörg Thalheim
9d220f5067 dpdk: 22.03 -> 22.07 2022-10-31 13:41:56 +01:00
Alyssa Ross
9aa6f61df9 linuxPackages.dpdk: mark broken on Linux 5.18 2022-05-25 12:29:13 +00:00
Martin Weinelt
a52bf037d8
dpdk: 21.11 -> 22.03
https://doc.dpdk.org/guides/rel_notes/release_22_03.html
https://www.openwall.com/lists/oss-security/2022/05/05/1
https://www.openwall.com/lists/oss-security/2022/05/05/2

Fixes: CVE-2021-3839, CVE-2022-0669
2022-05-05 13:06:23 +02:00
Nikolay Amiantov
5aa4697af4 dpdk: split examples, wrap dpdk-devbind 2022-01-28 11:17:52 +03:00
Nikolay Amiantov
2c0b4b8510 dpdk: restore rte_kni module build
As a bonus, split doc output.
2022-01-28 11:17:52 +03:00
Nikolay Amiantov
d15130584f dpdk: move libbsd to propagated inputs
It is required in pkgconfig file.
2022-01-26 03:29:10 +03:00
Nikolay Amiantov
5ab992b43a dpdk: wrap python scripts 2022-01-26 03:29:10 +03:00
Pierre Bourdon
7e472d6dc2
dpdk: move rdma-core dependency to propagated
This allows for static building against DPDK. I would rather have all
nixpkgs users link properly against the shared libraries, but fixing
odp-dpdk looks like it will require patching their autoconf scripts.
2021-12-09 09:28:18 +01:00
Pierre Bourdon
5ff289f39e
dpdk: add ARMv8 sandboxed build support
DPDK defaults to reading machine info from /sys unless specific platform
info is provided at configure time. Tell it to build a generic version
instead of trying to optimize based on the build host.
2021-12-09 02:23:00 +01:00
Pierre Bourdon
19eb8f294d
dpdk: clean up installed docs to prevent spurious dependency
Closure size 941M -> 825M by getting rid of an unneeded dependency on
python3-docutils. This was dragged in by Sphinx cache files being
installed in the derivation output.
2021-12-09 02:17:41 +01:00
Pierre Bourdon
d8ba6ecab9
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.
2021-12-09 01:59:10 +01:00
Pierre Bourdon
12d9a09d3c
dpdk: 21.04 -> 21.11 2021-12-09 01:49:57 +01:00
Zhaofeng Li
7f2e069592 dpdk: Support building example programs 2021-07-22 23:47:55 -07:00
Jörg Thalheim
568ca86168
dpdk: make myself maintainer 2021-06-28 16:27:39 +02:00
R. RyanTM
1cc751cca1 dpdk: 21.02 -> 21.05 2021-06-23 10:15:22 -07:00
Jörg Thalheim
8ab19de80d
Merge pull request #122588 from Mic92/dpdk
dpdk: 20.05 -> 21.02
2021-05-24 08:15:17 +01:00
Jörg Thalheim
a443ea7d01
dpdk: 20.05 -> 21.02 2021-05-24 08:19:39 +02:00
Alyssa Ross
6978666e15 dpdk: don't manually enableParallelBuilding
This is automatic for Meson builds.
2021-05-12 11:57:35 +00:00
Domen Kožar
52041b5d02
remove myself from a bunch of software I no longer use/maintain 2021-03-03 10:50:26 +00:00
Jonathan Ringer
9bb3fccb5b treewide: pkgs.pkgconfig -> pkgs.pkg-config, move pkgconfig to alias.nix
continuation of #109595

pkgconfig was aliased in 2018, however, it remained in
all-packages.nix due to its wide usage. This cleans
up the remaining references to pkgs.pkgsconfig and
moves the entry to aliases.nix.

python3Packages.pkgconfig remained unchanged because
it's the canonical name of the upstream package
on pypi.
2021-01-19 01:16:25 -08:00
Malte Brandy
cebf9198f3
treewide: De-inline uses of lib.boolToString
This commit should not change eval results
2020-10-14 01:46:17 +02:00
Jörg Thalheim
90a9d02538
dpdk: 19.11 -> 20.05
support for newer kernels (5.7)
2020-06-30 11:40:58 +01:00
Michael Reilly
84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
Orivej Desh
fdb16f3a77 linuxPackages.dpdk: fix build 2019-12-30 16:50:40 +00:00
Orivej Desh
17884f7b15 dpdk: 19.08.2 -> 19.11 2019-12-30 16:50:40 +00:00
Florian Klink
fe9d6cb8a7 dpdk: build with meson 2019-11-17 14:09:04 +01:00
Robert Scott
fa9a372e18 dpdk: 19.08 -> 19.08.2 (security)
addressing CVE-2019-14818
2019-11-17 01:21:19 +00:00
ajs124
cc4468eb70 dpdk: 19.05 -> 19.08 2019-10-15 16:50:09 +02:00
magenbluten
3812fc96b5 dpdk: 17.11.2 -> 19.05 2019-10-15 11:05:23 +02:00
Silvan Mosberger
57bccb3cb8 treewide: http -> https sources (#42676)
* treewide: http -> https sources

This updates the source urls of all top-level packages from http to
https where possible.

* buildtorrent: fix url and tab -> spaces
2018-06-28 20:43:35 +02:00
Orivej Desh
f1a2023961 dpdk: support static/shared build mode switch
The default is false because upstream default is false (for performance).
2018-05-21 02:32:18 +00:00
Orivej Desh
ed465dc7de dpdk: install files in the standard layout 2018-05-21 01:19:31 +00:00
Orivej Desh
2287c5f6a5 dpdk: extract from linuxPackages.dpdk
DPDK kernel modules are optional and its libraries do not reference them.

This allows to move the packages that depend on DPDK out of linuxPackages,
since they do not depend on kernel version.
2018-05-21 01:05:43 +00:00
Orivej Desh
52ad7f7390 linuxPackages.dpdk: 17.05.1 -> 17.11.2 2018-05-19 14:07:16 +00:00
adisbladis
0d3e23fa32
linuxPackages.dpdk: needs libelf from kernel.moduleBuildDependencies 2018-01-08 05:48:02 +08:00
John Ericson
531e4b80c9 misc pkgs: Basic sed to get fix pkgconfig and autoreconfHook buildInputs
Only acts on one-line dependency lists.
2017-09-21 15:49:53 -04:00
Ruslan Babayev
4ac8529dd4 odp-dpdk: fix a typo 2017-09-12 13:23:36 -07:00
Ruslan Babayev
f6075fc211 dpdk: drop examples output; simplify install phase 2017-09-08 18:33:39 -07:00
Tim Steinbach
fe101d0fb7
dpdk: 16.07.2 -> 17.05.1 2017-07-23 11:40:25 -04:00
Ruslan Babayev
dd45691fe0 dpdk: 16.07 -> 16.07.2 2016-12-31 16:22:52 -08:00
Joachim F
f8b447a6e4 dpdk: 16.04 -> 16.07, fix build against linux 4.7 (#18256)
Tested build against linux_latest and linux_grsec_nixos.
2016-09-03 17:40:27 +02:00
Robin Gloster
5185bc1773 Merge remote-tracking branch 'upstream/master' into hardened-stdenv 2016-07-15 14:41:01 +00:00
Ruslan Babayev
d515d72aba dpdk: pktgen: odp-dpdk: upgrades (#16585)
* dpdk: fix a typo

* dpdk: separate configure phase

* odp-dpdk: 1.8.0.0 -> 1.10.1.0

* pktgen: 3.0.00 -> 3.0.04

* pktgen: add withGtk build option
2016-06-29 10:34:17 +02:00
Robin Gloster
8031cba2ab Merge remote-tracking branch 'upstream/master' into hardened-stdenv 2016-06-10 09:27:04 +00:00
Ruslan Babayev
49b985b241 dpdk: make primary output usable as RTE_SDK 2016-06-02 02:12:06 -07:00
Ruslan Babayev
7334e925b4 dpdk: separate kernel modules 2016-06-02 02:12:06 -07:00
Ruslan Babayev
9f3c0f9716 dpdk: move apps to examples output 2016-06-02 02:12:06 -07:00