Port details |
- dpdk DPDK: Software libraries for packet processing
- 22.11.2_1 net
=3 22.11.2_1Version of this port present on the latest quarterly branch. - Maintainer: bruce.richardson@intel.com
 - Port Added: 2014-10-16 06:00:19
- Last Update: 2024-08-09 14:03:29
- Commit Hash: 9bdaee5
- People watching this port, also watch:: oss, monit, proggy_fonts-ttf, inotify-tools
- Also Listed In: kld
- License: BSD3CLAUSE
- WWW:
- https://dpdk.org/
- Description:
- The Data Plane Development Kit (DPDK)
The DPDK is a set of software libraries to enable packet processing. It
consists of a set of polling mode drivers (PMD) which can be used to pull
network packets directly from a Network Interface Card (NIC), as well as
other libraries to assist in the processing of those packets. The additional
libraries include ones for:
* memory and buffer management
* packet classification
* software rings or FIFOs to allow packet transfer between cores
amongst others.
Applications written using the DPDK run in userspace. The devices used by a
DPDK application are removed from kernel control and are instead managed
directly by that application.
¦ ¦ ¦ ¦ 
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - Dependency lines:
-
- To install the port:
- cd /usr/ports/net/dpdk/ && make install clean
- To add the package, run one of these commands:
- pkg install net/dpdk
- pkg install dpdk22.11
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.- PKGNAME: dpdk22.11
- Flavors: there is no flavor information for this port.
- ONLY_FOR_ARCHS: amd64
- distinfo:
- TIMESTAMP = 1687361326
SHA256 (dpdk-22.11.2.tar.xz) = af64bdda15087ff8d429894b9ea6cbbbb6ee7a932bdb344f82b0dc366379a2d4
SIZE (dpdk-22.11.2.tar.xz) = 15594000
Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- objdump : devel/binutils
- py311-pyelftools>0 : devel/py-pyelftools@py311
- meson : devel/meson
- ninja : devel/ninja
- pkgconf>=1.3.0_1 : devel/pkgconf
- python3.11 : lang/python311
- Test dependencies:
-
- python3.11 : lang/python311
- Runtime dependencies:
-
- py311-pyelftools>0 : devel/py-pyelftools@py311
- py311-pyelftools>=0 : devel/py-pyelftools@py311
- pkgconf>=1.3.0_1 : devel/pkgconf
- python3.11 : lang/python311
- Library dependencies:
-
- libelf.so : devel/elfutils
- libjansson.so : devel/jansson
- libpcap.so.1 : net/libpcap
- libisal.so : devel/isa-l
- This port is required by:
- for Libraries
-
- net/vpp
Configuration Options:
- ===> The following configuration options are available for dpdk22.11-22.11.2_1:
EXAMPLES=on: Build and/or install examples
TEST=off: Build and install automated unit test binary
TOOLS=on: Install tool scripts
===> Use 'make config' to modify these settings
- Options name:
- net_dpdk
- USES:
- kmod meson pkgconfig:both python shebangfix ssl tar:xz
- pkg-message:
- For install:
- The Intel(R) DPDK requires two kernel modules to be loaded in order to run.
To load these modules add loading lines to /boot/loader.conf
contigmem_load="YES"
nic_uio_load="YES"
The modules each take a number of parameters. These should be set in loader.conf
before the above two lines to load the module.
* The "contigmem" module is used to reserve contiguous blocks of physical memory
for packet buffer use. It takes parameters for the number and size of blocks
to be reserved. An example is below, reserving a single 1G block:
hw.contigmem.num_buffers=1
hw.contigmem.buffer_size=1073741824
* The "nic_uio" module is used to expose the network card (NIC) hardware
directly to userspace for use with the Intel(R) DPDK. If the NIC ports to be
used are in use by an existing driver, the nic_uio module can unbind the port
from its existing driver when requested to do so. This is done by passing the
relevant PCI bus, device and function settings to the driver as parameters.
For example:
hw.nic_uio.bdfs="2:0:0,2:0:1"
- Master Sites:
|
Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
Commit | Credits | Log message |
22.11.2_1 09 Aug 2024 14:03:29
    |
Joseph Mingrone (jrm)  Author: Tom Jones |
net/dpdk: Enable SDK driver
PR: 280691
Approved by: bruce.richardson@intel.com (maintainer)
Sponsored by: The FreeBSD Foundation
Co-authored-by: Joseph Mingrone <jrm@FreeBSD.org> |
22.11.2 14 Jan 2024 20:28:30
    |
Daniel Engberg (diizzy)  Author: Bruce Richardson |
net/dpdk: Fix build warnings about symbols in version map file
The latest versions of ld are throwing warnings/errors about entries in
the linker script that don't exist in the actual build. For DPDK, there
are functions in the linker script (version.map) which only exist on Linux
(and sometimes only on Windows) but not on BSD. To avoid warnings/errors,
we can restore old behaviour by adding the "-Wl,--undefined-version"
flag to the build.
PR: 276277 |
22.11.2 30 Dec 2023 07:16:41
    |
Muhammad Moinur Rahman (bofh)  |
net/dpdk: Move net/dpdk-22.11 to net/dpdk
net/dpdk was about to expire in lieu of net/dpdk-22.11. So move
net/dpdk-22.11 to dpdk.
When there are multiple versions in the ports tree always keep the most
latest stable version without the suffix/prefix and adjust accordingly
for other versions.
Approved by: portmgr (blanket) |
19.11.12 18 Nov 2023 09:24:50
    |
Daniel Engberg (diizzy)  |
net/dpdk: Deprecate and set expiration date to 2023-12-31
End of life since December 2022 upstream, point users to net/dpdk-22.11
Reference:
https://core.dpdk.org/roadmap/
PR: 272133
Reported by: Bruce Richardson <bruce.richardson@intel.com> |
19.11.12 27 Jun 2023 19:34:34
    |
Rene Ladan (rene)  |
all: remove explicit versions in USES=python for "3.x+"
The logic in USES=python will automatically convert this to 3.8+ by
itself.
Adjust two ports that only had Python 3.7 mentioned but build fine
on Python 3.8 too.
finance/quickfix: mark BROKEN with PYTHON
libtool: compile: c++ -DHAVE_CONFIG_H -I. -I../.. -I -I. -I.. -I../.. -I../C++
-DLIBICONV_PLUG -DPYTHON_MAJOR_VERSION=3 -Wno-unused-variable
-Wno-maybe-uninitialized -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong
-fno-strict-aliasing -DLIBICONV_PLUG -Wall -ansi
-Wno-unused-command-line-argument -Wpointer-arith -Wwrite-strings
-Wno-overloaded-virtual -Wno-deprecated-declarations -Wno-deprecated -std=c++0x
-MT _quickfix_la-QuickfixPython.lo -MD -MP -MF
.deps/_quickfix_la-QuickfixPython.Tpo -c QuickfixPython.cpp -fPIC -DPIC -o
.libs/_quickfix_la-QuickfixPython.o
warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean
'-Wno-uninitialized'? [-Wunknown-warning-option]
QuickfixPython.cpp:175:11: fatal error: 'Python.h' file not found
^~~~~~~~~~
1 warning and 1 error generated.
Reviewed by: portmgr, vishwin, yuri
Differential Revision: <https://reviews.freebsd.org/D40568> |
19.11.12 23 May 2023 21:27:26
    |
John Baldwin (jhb)  |
net/dpdk*: Use valid prototypes for function declarations with no arguments.
Reviewed by: fuz, Bruce Richardson (maintainer)
Differential Revision: https://reviews.freebsd.org/D40170 |
07 Sep 2022 21:58:51
    |
Stefan Eßer (se)  |
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner) |
19.11.12 07 Sep 2022 21:10:59
    |
Stefan Eßer (se)  |
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above ) |
19.11.12 03 Aug 2022 22:47:24
    |
John Baldwin (jhb)  |
net/dpdk: Remove devclass from DRIVER_MODULE on recent main.
Reviewed by: erj
Differential Revision: https://reviews.freebsd.org/D35955 |
19.11.12 21 Apr 2022 17:45:29
    |
Neel Chauhan (nc)  Author: Bruce Richardson |
net/dpdk: update to 19.11.12 point release
PR: 263423 |
19.11.7 03 Jan 2022 10:26:15
    |
Stefan Eßer (se)  |
net/dpdk: fix build on -CURRENT
The CPU_SET macros in -CURRENT have been made compatible with GLIBC.
A simple test for the new signature of CPU_AND, CPU_OR, ... is the
existence of a CPU_ALLOC macro.
Approved by: portmgr (implicit)
MFH: 2022Q1 |
19.11.7 25 Oct 2021 12:58:29
    |
Alexey Dokuchaev (danfe)  |
Style: improve ONLY_FOR_ARCHS_REASON (grammar, markup, etc.)
ONLY_FOR_ARCHS_REASON is used as part of the sentence and thus should
start with lower-case letter and not end with a period which is added
by the framework, similar to other knobs like BROKEN, IGNORE, et al.
While here, remove needless quoting, add missing Oxford comma, expand
contractions and jargonisms, use correct spelling for proper names. |
19.11.7 07 Apr 2021 08:09:01
    |
Mathieu Arnold (mat)  |
One more small cleanup, forgotten yesterday.
Reported by: lwhsu |
19.11.7 06 Apr 2021 14:31:07
    |
Mathieu Arnold (mat)  |
Remove # $FreeBSD$ from Makefiles. |
19.11.7 26 Mar 2021 03:04:58
  |
vanilla  |
Update to 19.11.7.
PR: 254403
Submitted by: maintainer |
19.11.4 08 Sep 2020 17:26:09
  |
lwhsu  |
net/dpdk: Update to 19.11.4
PR: 249189
Submitted by: Bruce Richardson <bruce.richardson@intel.com> (maintainer) |
19.11.3 01 Jul 2020 13:15:41
  |
lwhsu  |
Update to 19.11.3
PR: 247662
Submitted by: Bruce Richardson <bruce.richardson@intel.com> (maintainer) |
19.11.2 16 Jun 2020 23:53:17
  |
lwhsu  |
Update to 19.11.2
PR: 246541
Submitted by: Bruce Richardson <bruce.richardson@intel.com> (maintainer) |
19.11_2 18 May 2020 11:38:09
  |
pi  |
net/dpdk: ix build with 13-CURRENT
The automated package builds for net/dpdk are failing on 13-CURRENT
because of changes to the FreeBSD code in the 13 tree. This update
provides minor tweaks to the code to fix compatibility with BSD 13.
Two issues were observed:
* rename of CPU_NAND to CPU_ANDNOT
* change in vm_page_replace parameters and behaviour
Both issues only required small changes to a single file, and both
fixes are in the diff attached.
PR: 243058
Submitted by: Bruce Richardson <bruce.richardson@intel.com> (maintainer) |
19.11_2 31 Dec 2019 20:17:36
  |
rene  |
net/dpdk: depend on OpenSSL via USES=ssl instead of directly
Reported by: antoine, mat |
19.11_1 31 Dec 2019 16:20:26
  |
rene  |
net/dpdk: bump openssl dependency to 1.11, build-tested only. |
19.11 03 Dec 2019 20:55:17
  |
pi  |
net/dpdk: upgrade 18.05.1 -> 19.11
- As part of the update the build system was changed from using
make to meson/ninja, which simplifies large parts of the port
makefile, and will be the build system for DPDK going forward.
PR: 242325
Submitted by: Bruce Richardson <bruce.richardson@intel.com> (maintainer)
Relnotes: http://doc.dpdk.org/guides/rel_notes/release_19_11.html
https://www.dpdk.org/blog/2019/11/29/dpdk-19-08-is-now-available-biggest-release-of-2019-2/ |
18.05.1 14 Aug 2019 08:48:51
  |
mat  |
Convert to UCL & cleanup pkg-message (categories n)
(and missed 3 missed files from previous categories.) |
18.05.1 22 May 2019 17:34:25
  |
cem  |
net/dpdk: Fix build after r347984
Address missing implicit includes removed as a header pollution cleanup in
r347984. Apologies that this wasn't addressed in advance; my spot check
ahead of time seems to have been against the wrong kernel source tree.
I have submitted the same changes to upstream dpdk:
https://bugs.dpdk.org/show_bug.cgi?id=282
Reviewed by: mat
Approved by: mat
Differential Revision: https://reviews.freebsd.org/D20329 |
18.05.1 12 Jan 2019 13:34:54
  |
pi  |
net/dpdk: update 18.05 -> 18.05.1
PR: 234832
Approved by: Bruce Richardson <bruce.richardson@intel.com> (maintainer)
Relnotes: https://doc.dpdk.org/guides-18.05/rel_notes/release_18_05.html#fixes-in-18-05-stable-release |
18.05_1 18 Jul 2018 15:39:35
  |
swills  |
net/dpdk: update to 18.05
PR: 229863
Submitted by: Bruce Richardson <bruce.richardson@intel.com> (maintainer) |
16.07_1 22 May 2018 13:15:13
  |
mat  |
Add PY_FLAVOR to Python module dependencies.
Sponsored by: Absolight |
16.07_1 30 Nov 2017 15:50:34
  |
mat  |
Convert Python ports to FLAVORS.
Ports using USE_PYTHON=distutils are now flavored. They will
automatically get flavors (py27, py34, py35, py36) depending on what
versions they support.
There is also a USE_PYTHON=flavors for ports that do not use distutils
but need FLAVORS to be set. A USE_PYTHON=noflavors can be set if
using distutils but flavors are not wanted.
A new USE_PYTHON=optsuffix that will add PYTHON_PKGNAMESUFFIX has been
added to cope with Python ports that did not have the Python
PKGNAMEPREFIX but are flavored.
USES=python now also exports a PY_FLAVOR variable that contains the (Only the first 15 lines of the commit message are shown above ) |
16.07_1 17 Oct 2017 11:59:34
  |
antoine  |
Fix packaging |
16.07_1 22 Sep 2017 10:48:29
  |
mat  |
Remove USES=execinfo.
PR: 220271
Submitted by: mat (review), Yasuhiro KIMURA (PR)
Sponsored by: Absolight
Differential Revision: https://reviews.freebsd.org/D11488 |
16.07_1 06 Oct 2016 16:23:45
  |
amdmi3  |
- Fix page zeroing (http://dpdk.org/dev/patchwork/patch/15211/)
- Added options for DEBUG and TOOLS
- Added WWW:
PR: 212923
Submitted by: rum1cro@yandex.ru
Approved by: bruce.richardson@intel.com (maintainer) |
16.07 05 Sep 2016 15:34:24
  |
amdmi3  |
- Update to 16.07
PR: 212387
Submitted by: rum1cro@yandex.ru
Approved by: bruce.richardson@intel.com (maintainer) |
2.2.0 17 Feb 2016 04:18:18
  |
pi  |
net/dpdk: 2.1.0 -> 2.2.0
Release Notes:
http://dpdk.org/doc/guides/rel_notes/release_2_2.html
PR: 207078
Approved by: Bruce Richardson <bruce.richardson@intel.com> (maintainer) |
09 Sep 2015 12:14:38

|
vanilla  |
Upgrade to 2.1
PR: 202415
Submitted by: maintainer |
2.0.0 20 Apr 2015 12:49:21
  |
vanilla  |
Fix build on 9.3. |
2.0.0 20 Apr 2015 09:48:29
  |
vanilla  |
Upgrade to 2.0
PR: 199485
Submitted by: maintainer |
1.8.0 29 Jan 2015 15:25:37
  |
jhb  |
Replace 'd_thread_t' with 'struct thread'. This patch has been accepted
upstream.
PR: 196691
Approved by: maintainer |
1.8.0 22 Dec 2014 12:18:26
  |
vanilla  |
Upgrade to 1.8.0.
Submitted by: maintainer via email. |
1.7.1 16 Oct 2014 05:59:55
  |
vanilla  |
Add dpdk 1.7.1, intel(R) DPDK: Software libraries for packet processing.
PR: ports/194072
Submitted by: bruce.richardson@intel.com |