From 4cfebdd30a88eb27e9f8baa6634005239851bf02 Mon Sep 17 00:00:00 2001 From: yinzhongyi Date: Wed, 11 Jul 2018 20:37:42 +0800 Subject: Add build rsocket in build.sh and Build_DMM.md Change-Id: I776d6a851b684025fd24bd459ea3cac02dd69e2c Signed-off-by: yinzhongyi --- doc/Build_DMM.md | 25 ++++++++++++++++++++++--- 1 file changed, 22 insertions(+), 3 deletions(-) (limited to 'doc') 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--.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 -- cgit 1.2.3-korg