aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/Build_DMM.md25
1 files changed, 22 insertions, 3 deletions
diff --git a/doc/Build_DMM.md b/doc/Build_DMM.md
index 8eee84a..5cc3331 100644
--- a/doc/Build_DMM.md
+++ b/doc/Build_DMM.md
@@ -24,7 +24,7 @@ Note:
Note:
Environment:
- Linux ubuntu 14.04 or some distro which support dpdk-16.04
+ Linux ubuntu 16.04 or some distro which support dpdk-16.04
# 3. Build DMM:
@@ -45,7 +45,26 @@ Note:
For centos we can use the command 'make pkg-rpm' to generate the rpm package in release/rpm.
-# 4. Env Setting:
+# 4. Build rsocket:
+
+```
+ #cd $(DMM_DIR)/build
+ #make dmm_rsocket
+```
+Note:
+ Make sure Mellanox OFED has been installed in your computer, or run the following command before compiling
+
+```
+ #cd $DMM_DIR/stacks/rsocket
+ //Take ubuntu16.04 as an example, the tgz file has the format MLNX_OFED_LINUX-<ver>-<OS label><CPU arch>.tgz
+ #wget http://www.mellanox.com/downloads/ofed/MLNX_OFED-4.4-1.0.0.0/MLNX_OFED_LINUX-4.4-1.0.0.0-ubuntu16.04-x86_64.tgz
+ #tar -zxvf MLNX_OFED_LINUX-4.4-1.0.0.0-ubuntu16.04-x86_64.tgz
+ #cd MLNX_OFED_LINUX-4.4-1.0.0.0-ubuntu16.04-x86_64
+ #./mlnxofedinstall --force
+```
+
+
+# 5. Env Setting:
- Hugepage setting:
@@ -69,7 +88,7 @@ Check hugepage info
```
-# 5. Build and Run the APP
+# 6. Biuld and Run the APP
- Link the app with the lib **libnStackAPI.so** first, you can refer to app_example/perf-test