Port details on branch 2022Q2 |
- dpdk-20.11 DPDK: Software libraries for packet processing
- 20.11.8 net =0 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
- 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:
|