From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mogw0718.ocn.ad.jp (mogw0718.ocn.ad.jp [153.149.232.19]) by dpdk.org (Postfix) with ESMTP id D18A4A493 for ; Tue, 23 Jan 2018 01:29:00 +0100 (CET) Received: from mf-smf-ucb007.ocn.ad.jp (mf-smf-ucb007.ocn.ad.jp [153.149.231.6]) by mogw0718.ocn.ad.jp (Postfix) with ESMTP id 7068AC001CD; Tue, 23 Jan 2018 09:28:59 +0900 (JST) Received: from mf-smf-ucb007.ocn.ad.jp (mf-smf-ucb007 [153.149.231.6]) by mf-smf-ucb007.ocn.ad.jp (Postfix) with ESMTP id 54E5B805F8; Tue, 23 Jan 2018 09:28:59 +0900 (JST) Received: from ntt.pod01.mv-mta-ucb024 (mv-mta-ucb024.ocn.ad.jp [153.149.142.98]) by mf-smf-ucb007.ocn.ad.jp (Switch-3.3.4/Switch-3.3.4) with ESMTP id w0N0Sn0K047577; Tue, 23 Jan 2018 09:28:59 +0900 Received: from smtp.ocn.ne.jp ([153.149.227.133]) by ntt.pod01.mv-mta-ucb024 with id 1cUy1x00C2tKTyH01cUyCY; Tue, 23 Jan 2018 00:28:58 +0000 Received: from mugwort.jp (p1247-ipngn8903marunouchi.tokyo.ocn.ne.jp [153.221.64.247]) by smtp.ocn.ne.jp (Postfix) with ESMTPA; Tue, 23 Jan 2018 09:28:58 +0900 (JST) From: ogawa.yasufumi@lab.ntt.co.jp To: spp@dpdk.org, ferruh.yigit@intel.com, x-fn-spp@sl.ntt-tx.co.jp Cc: Hiroyuki Nakamura , Daiki Yamashita , Naoki Takada Date: Tue, 23 Jan 2018 09:29:05 +0900 Message-Id: <20180123002907.28414-8-ogawa.yasufumi@lab.ntt.co.jp> X-Mailer: git-send-email 2.13.1 In-Reply-To: <20180123002907.28414-1-ogawa.yasufumi@lab.ntt.co.jp> References: <20180123002907.28414-1-ogawa.yasufumi@lab.ntt.co.jp> Subject: [spp] [PATCH 17/28] doc: add explanations on options of spp X-BeenThere: spp@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: Soft Patch Panel List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Jan 2018 00:29:01 -0000 From: Hiroyuki Nakamura Add the following explanations: * Options for DPDK and ones for spp are available. * Hyperlink to the reference to DPDK option is inserted. Signed-off-by: Daiki Yamashita Signed-off-by: Naoki Takada --- docs/spp_vf/how_to_use.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/docs/spp_vf/how_to_use.md b/docs/spp_vf/how_to_use.md index 6b5019c..e9b752d 100644 --- a/docs/spp_vf/how_to_use.md +++ b/docs/spp_vf/how_to_use.md @@ -29,6 +29,11 @@ $ python ./src/spp.py -p 5555 -s 6666 SPP primary reserves and manages resources for secondary processes. You have to run it before secondaries. +SPP primary has two kinds of options, dpdk and spp. +Option of dpdk is before `--`, option of spp is after `--`. + +Option of dpdk are refer to [dpdk documentation](http://dpdk.org/doc/guides/linux_gsg/build_sample_apps.html#running-a-sample-application). + Options of spp primary are * -p : port mask * -n : number of rings @@ -45,6 +50,14 @@ $ sudo ./src/primary/x86_64-native-linuxapp-gcc/spp_primary \ ### SPP Secondary In `spp_vf`, spp secondary processes are launched by single command. + +`spp_vf` has two kinds of options as well as spp primary. + +Option of dpdk are refer to [dpdk documentation](http://dpdk.org/doc/guides/linux_gsg/build_sample_apps.html#running-a-sample-application). + +Options of `spp_vf` are + * TODO + Core assingment and network configuration are defined in JSON formatted config file. If you run `spp_vf` without giving config file, it refers default -- 2.13.1