Port details |
- dpdk-20.11 DPDK: Software libraries for packet processing
- 20.11.8 net =2 20.11.8Version of this port present on the latest quarterly branch.
- Maintainer: bruce.richardson@intel.com
- Port Added: 2021-10-14 07:33:06
- Last Update: 2024-01-14 20:28:30
- Commit Hash: 89bcc8c
- People watching this port, also watch:: jdictionary, py311-Automat, py311-python-gdsii, py39-PyOpenGL, p5-Sane
- 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:
-
- dpdk20.11>0:net/dpdk-20.11
- To install the port:
- cd /usr/ports/net/dpdk-20.11/ && make install clean
- To add the package, run one of these commands:
- pkg install net/dpdk-20.11
- pkg install dpdk20.11
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.- PKGNAME: dpdk20.11
- Flavors: there is no flavor information for this port.
- ONLY_FOR_ARCHS: amd64
- distinfo:
- TIMESTAMP = 1683105631
SHA256 (dpdk-20.11.8.tar.xz) = 853f2d837816d4fa427fd996fbac116cccf2dec34d01f46df4be43e0b953f3bf
SIZE (dpdk-20.11.8.tar.xz) = 14045916
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
- meson : devel/meson
- ninja : devel/ninja
- pkgconf>=1.3.0_1 : devel/pkgconf
- python3.9 : lang/python39
- Test dependencies:
-
- python3.9 : lang/python39
- Runtime dependencies:
-
- py39-pyelftools>=0 : devel/py-pyelftools@py39
- pkgconf>=1.3.0_1 : devel/pkgconf
- python3.9 : lang/python39
- Library dependencies:
-
- libelf.so : devel/elfutils
- libjansson.so : devel/jansson
- There are no ports dependent upon this port
Configuration Options:
- ===> The following configuration options are available for dpdk20.11-20.11.8:
DEBUG=off: Debugging support (unoptimized build, impacts performance)
EXAMPLES=on: Build and/or install examples
TESTS=off: Build the automated unit test binary
TOOLS=on: Install tool scripts
===> Use 'make config' to modify these settings
- Options name:
- net_dpdk-20.11
- USES:
- kmod meson pkgconfig:both python shebangfix 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 |
20.11.8 14 Jan 2024 20:28:30 |
Daniel Engberg (diizzy) Author: Bruce Richardson |
net/dpdk-20.11: 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 |
20.11.8 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> |
20.11.8 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 |
20.11.8 06 May 2023 09:00:01 |
Robert Clausecker (fuz) Author: Bruce Richardson |
net/dpdk-20.11: update to point release 20.11.8
Update dpdk-20.11 port to the latest point release version.
This update also includes cleanup for the makefile, as suggested
by portclippy & portfmt.
Changelog:
http://inbox.dpdk.org/announce/20220829150456.2223782-1-xuemingl@nvidia.com
Changelog:
http://inbox.dpdk.org/announce/20221213140809.3845954-1-luca.boccassi@gmail.com
Changelog:
http://inbox.dpdk.org/announce/20230427184829.1368323-1-luca.boccassi@gmail.com
PR: 271225 |
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) |
20.11.5 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 ) |
20.11.5 03 Aug 2022 22:48:46 |
John Baldwin (jhb) |
net/dpdk-20.11: Remove devclass from DRIVER_MODULE on recent main.
Reviewed by: erj, bruce.richardson@intel.com (maintainer)
Differential Revision: https://reviews.freebsd.org/D35956 |
20.11.5 23 Apr 2022 20:13:22 |
Neel Chauhan (nc) Author: Bruce Richardson |
net/dpdk-20.11: update to 20.11.5 point release
PR: 263421 |
20.11.1 03 Jan 2022 10:21:10 |
Stefan Eßer (se) |
net/dpdk-20.11: 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 |
20.11.1 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. |
20.11.1 20 Oct 2021 05:52:53 |
Fernando Apesteguía (fernape) Author: Bruce Richardson |
net/dpdk-20.11: fix packaging error
dpdk-test binary is installed whith TESTS=on and not TOOLS=on
While here, pet linters.
PR: 259248
Reported by: bruce.richardson@intel.com (maintainer) |
20.11.1 14 Oct 2021 07:29:42 |
Vanilla I. Shu (vanilla) |
net/dpdk-20.11: add port.
PR: 254402
Reported by: Bruce Richardson <bruce.richardson at intel.com> |