Installing DPDK Source Code
Prerequisites
The dependencies tar, Meson, Automake, libtool, openssl-devel, python3-pyelftools, and numactl-devel have been installed.
Procedure
- 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/
- 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
- Perform compilation and installation.
ninja -C build && ninja install -C build
- Query the
DPDK version.pkg-config --modversion libdpdk
The installation is successful if the following information is displayed:23.11.0
Parent topic: FAQs