From 985169456b39c89d92492f8be63e564d37632e43 Mon Sep 17 00:00:00 2001 From: Liang Yan Date: Thu, 9 May 2019 10:17:00 +0800 Subject: [PATCH] doc/vpp: update vpp document and configuration Update the configure and doc for VPP. Change-Id: I922c02de108abd4bd4ac0c853b49080e449539cd Signed-off-by: Liang Yan Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/453758 Tested-by: SPDK CI Jenkins Reviewed-by: Darek Stojaczyk Reviewed-by: Shuhei Matsumoto Reviewed-by: Ben Walker Reviewed-by: Ziye Yang Reviewed-by: Paul Luse --- configure | 2 +- doc/vpp_integration.md | 9 +++++++-- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/configure b/configure index 83b2d2be5..bd03797d6 100755 --- a/configure +++ b/configure @@ -57,7 +57,7 @@ function usage() echo " reduce Required to build vbdev compression module." echo " No path required." echo " vpp Required to build VPP net module." - echo " example: /vpp_repo/build-root/install-vpp-native/vpp" + echo " example: /vpp_repo/build-root/rpmbuild/vpp-18.01.1.0/build-root/install-vpp-native/vpp" echo " rbd [disabled]" echo " No path required." echo " rdma [disabled]" diff --git a/doc/vpp_integration.md b/doc/vpp_integration.md index b44f19dfe..d3f9fd120 100644 --- a/doc/vpp_integration.md +++ b/doc/vpp_integration.md @@ -31,7 +31,7 @@ make pkg-rpm Alternatively, build and create .deb packages ~~~ -make pkg-deb +make bootstrap && make pkg-deb ~~~ Packages can be found in `vpp/build-root/` directory. @@ -120,7 +120,12 @@ configure --with-vpp Alternatively, directory with built libraries can be pointed at and will be used for compilation instead of installed packages. ~~~ -configure --with-vpp=/path/to/vpp/repo/build-root/vpp +configure --with-vpp=/path/to/vpp/repo/build-root/rpmbuild/vpp-18.01.1.0/build-root/install-vpp-native/vpp +~~~ + +Alternatively, in Debian/Ubuntu system, the vpp path is different. +~~~ +configure --with-vpp=/path/to/vpp/repo/build-root/install-vpp-native/vpp ~~~ # 5. Running SPDK with VPP {#vpp_running_with_spdk}