From 000ee67eeeaa9868a98c9d2d743db90357ba3fa0 Mon Sep 17 00:00:00 2001 From: rainbow_0206 Date: Wed, 4 Jul 2018 11:36:02 +0800 Subject: Update dpdk version from 16.04 to 18.02 Change-Id: Idebbee1d61211e1e800df82e0d474cf3ef099075 Signed-off-by: rainbow_0206 --- doc/Build_DMM.md | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) (limited to 'doc/Build_DMM.md') diff --git a/doc/Build_DMM.md b/doc/Build_DMM.md index 5cc3331..58bd6b8 100644 --- a/doc/Build_DMM.md +++ b/doc/Build_DMM.md @@ -10,21 +10,24 @@ Note: - Steps : - Download dpdk-16.04.tar.xz from DPDK release, you can get it from [http://static.dpdk.org/rel](http://static.dpdk.org/rel) + Download dpdk-18.02.tar.xz from DPDK release, you can get it from [http://static.dpdk.org/rel](http://static.dpdk.org/rel) ``` - #wget http://static.dpdk.org/rel/dpdk-16.04.tar.xz - #tar xvf dpdk-16.04.tar.xz - #vi dpdk-16.04/config/common_base //make CONFIG_RTE_BUILD_SHARED_LIB=y, CONFIG_RTE_EXEC_ENV=y, CONFIG_RTE_LIBRTE_EAL=y - #cd dpdk-16.04 + #wget http://static.dpdk.org/rel/dpdk-18.02.tar.xz + #tar xvf dpdk-18.02.tar.xz + #vi dpdk-18.02/config/common_base + //make CONFIG_RTE_BUILD_SHARED_LIB=y, CONFIG_RTE_EXEC_ENV=y, CONFIG_RTE_LIBRTE_EAL=y, CONFIG_RTE_EAL_PMD_PATH="/tmp/dpdk/drivers/" + #cd dpdk-18.02 #make install T=x86_64-native-linuxapp-gcc DESTDIR=/usr -j 4 #cd x86_64-native-linuxapp-gcc #make //install the dpdk which will generate .so inside lib folder in the path. + #mkdir -p /tmp/dpdk/drivers/ + #cp -f /usr/lib/librte_mempool_ring.so /tmp/dpdk/drivers/ ``` Note: Environment: - Linux ubuntu 16.04 or some distro which support dpdk-16.04 + Linux ubuntu 16.04 or some distro which support dpdk-18.02 # 3. Build DMM: -- cgit 1.2.3-korg