Rate This Document
Findability
Accuracy
Completeness
Readability

Installing DPDK Source Code

Prerequisites

The dependencies tar, Meson, Automake, libtool, openssl-devel, python3-pyelftools, and numactl-devel have been installed.

Procedure

  1. Go to Index of /rel/, download the dpdk-23.11.tar.gz software package, and decompress the package to the local environment.
    tar -zxvf dpdk-23.11.tar.gz
    cd dpdk-23.11/
  2. Set compilation parameters.
    meson --prefix=/usr -Ddisable_drivers=net/cnxk -Dc_args='-g -O0 -fstack-protector-strong' -Dmax_ethports=960 -Dc_link_args='-Wl,-z,relro,-z,now,-z,noexecstack' -Dplatform=generic build
  3. Perform compilation and installation.
    ninja -C build && ninja install -C build
  4. Query the DPDK version.
    pkg-config --modversion libdpdk
    The installation is successful if the following information is displayed:
    23.11.0