aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorrainbow_0206 <jiangwenjiang@huawei.com>2018-07-04 11:36:02 +0800
committerrainbow_0206 <jiangwenjiang@huawei.com>2018-07-18 10:06:24 +0800
commit000ee67eeeaa9868a98c9d2d743db90357ba3fa0 (patch)
tree2713e30f73f4d3ae1ab02f9f640efbf5bcd14e14 /doc
parent4cfebdd30a88eb27e9f8baa6634005239851bf02 (diff)
Update dpdk version from 16.04 to 18.02
Change-Id: Idebbee1d61211e1e800df82e0d474cf3ef099075 Signed-off-by: rainbow_0206 <jiangwenjiang@huawei.com>
Diffstat (limited to 'doc')
-rw-r--r--doc/Build_DMM.md15
-rw-r--r--doc/TestAppUserGuide.md5
2 files changed, 13 insertions, 7 deletions
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:
diff --git a/doc/TestAppUserGuide.md b/doc/TestAppUserGuide.md
index 2f21023..ef118d2 100644
--- a/doc/TestAppUserGuide.md
+++ b/doc/TestAppUserGuide.md
@@ -98,12 +98,15 @@ We need to setup configuration as given below.
Usage:
-After building the DMM, inside the DMM/release directory below perf-test app will be generated.
+After building the DMM, inside the DMM/release/bin directory below perf-test app will be generated.
*kc_common, ks_epoll, ks_select, vc_common, vs_epoll, vs_select*
The use of ks_epoll,ks_select,vs_epoll and vs_select are the same.
+Before executing the app, we should disable ASLR (Address space layout randomization).
+ echo 0 > /proc/sys/kernel/randomize_va_space
+
Examples:
**With Kernel stack(With direct kernel stack):**