Installing DPDK 19.11
Obtaining the DPDK Source Package
Compiling DPDK and Generating Dependency Packages
- Enable the DPDK PMD option of LOM.
- Open the /home/dpdk-19.11/config/common_base file.
1vim /home/dpdk-19.11/config/common_base - Press i to enter the insert mode and set CONFIG_RTE_LIBRTE_HNS3_PMD in line 288 to y.

- Press Esc, type :wq!, and press Enter to save the file and exit.
Set the configuration file path based on the actual DPDK directory.
- Open the /home/dpdk-19.11/config/common_base file.
- Compile DPDK source code.
- Configure the environment variable of the source code path.
1export RTE_SDK=/home/dpdk-19.11
- Configure environment architecture variables.
- Get the architecture options supported by the current environment.
cd /home/dpdk-19.11 ./usertools/dpdk-setup.sh
- Enter 4 in the command output.
This document uses the TaiShan 200 server as an example. Therefore, the arm64-armv8a-linuxapp-gcc is selected.

- Exit the script.
- Run the following command to configure environment variables:
1export RTE_TARGET=arm64-armv8a-linuxapp-gcc
RTE_SDK is subject to the DPDK source code directory of the actual version, and RTE_TARGET is subject to the actual CPU architecture.
DPDK 18.11.1 and later versions require the GCC version be later than 5.0. Early GCC versions will cause compilation errors.
- Get the architecture options supported by the current environment.
- Compile the DPDK in the DPDK source code directory /home/dpdk-next-net.The multi-core feature can be fully used in this command to accelerate compilation.
1make install T=$RTE_TARGET -j 16
- Configure the environment variable of the source code path.
Parent topic: Installing and Running DPDK on Physical Machines