diff options
author | yinzhongyi <yinzhongyi@huawei.com> | 2018-07-11 20:37:42 +0800 |
---|---|---|
committer | yinzhongyi <yinzhongyi@huawei.com> | 2018-07-12 16:48:56 +0800 |
commit | 4cfebdd30a88eb27e9f8baa6634005239851bf02 (patch) | |
tree | def3086761094210c02d4d2d883b61635bb41e9d /doc/Build_DMM.md | |
parent | 6407560ec2d98a52b05b46513995483947110866 (diff) |
Add build rsocket in build.sh and Build_DMM.md
Change-Id: I776d6a851b684025fd24bd459ea3cac02dd69e2c
Signed-off-by: yinzhongyi <yinzhongyi@huawei.com>
Diffstat (limited to 'doc/Build_DMM.md')
-rw-r--r-- | doc/Build_DMM.md | 25 |
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 |