解压dpdk-19.11.tar
cd dpdk-19.11
#RTE_SDK是代码顶层目录
#RTE_TARGET是选择编译平台,这里是64位linux系统,使用gcc编译
export RTE_SDK=/home/nxy/software/dpdk-19.11
export RTE_TARGET=x86_64-native-linuxapp-gcc
sed -ri ‘s,(PMD_PCAP=).*,\1y,’ config/common_base
make config T=$RTE_TAR