Port details on branch 2024Q3 |
- dpdk DPDK: Software libraries for packet processing
- 22.11.2_1 net =0 22.11.2_1Version of this port present on the latest quarterly branch.
- Maintainer: bruce.richardson@intel.com
- Port Added: 2024-08-15 22:51:05
- Last Update: 2024-08-15 22:27:02
- Commit Hash: 67f681a
- 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:
|
Number of commits found: 1
Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
Commit | Credits | Log message |
22.11.2_1 15 Aug 2024 22:27:02 |
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>
(cherry picked from commit 9bdaee5453b6ee8fa2236537ec60f672e17db561) |
Number of commits found: 1
|