From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail04.ics.ntt-tx.co.jp (mail05.ics.ntt-tx.co.jp [210.232.35.69]) by dpdk.org (Postfix) with ESMTP id BF45B1B01B for ; Tue, 16 Jan 2018 06:16:45 +0100 (CET) Received: from gwchk03.silk.ntt-tx.co.jp (gwchk03.silk.ntt-tx.co.jp [10.107.0.111]) by mail04.ics.ntt-tx.co.jp (unknown) with ESMTP id w0G5GiZj007999 for unknown; Tue, 16 Jan 2018 14:16:44 +0900 Received: (from root@localhost) by gwchk03.silk.ntt-tx.co.jp (unknown) id w0G5GgXj025491 for unknown; Tue, 16 Jan 2018 14:16:42 +0900 Received: from gwchk.silk.ntt-tx.co.jp [10.107.0.110] by gwchk03.silk.ntt-tx.co.jp with ESMTP id QAA25485; Tue, 16 Jan 2018 14:16:42 +0900 Received: from imss03.silk.ntt-tx.co.jp (localhost [127.0.0.1]) by imss03.silk.ntt-tx.co.jp (unknown) with ESMTP id w0G5Gg9J009197 for unknown; Tue, 16 Jan 2018 14:16:42 +0900 Received: from mgate02.silk.ntt-tx.co.jp (smtp02.silk.ntt-tx.co.jp [10.107.0.37]) by imss03.silk.ntt-tx.co.jp (unknown) with ESMTP id w0G5GgWp009181 for unknown; Tue, 16 Jan 2018 14:16:42 +0900 Message-Id: <201801160516.w0G5GgWp009181@imss03.silk.ntt-tx.co.jp> Received: from localhost by mgate02.silk.ntt-tx.co.jp (unknown) id w0G5Gfx3026680 ; Tue, 16 Jan 2018 14:16:42 +0900 From: x-fn-spp@sl.ntt-tx.co.jp To: spp@dpdk.org Date: Tue, 16 Jan 2018 14:16:30 +0900 X-Mailer: git-send-email 1.9.1 In-Reply-To: <3e13a243-6c3f-d849-f2f4-67732e5a44cb@intel.com> References: <3e13a243-6c3f-d849-f2f4-67732e5a44cb@intel.com> X-TM-AS-MML: No Subject: [spp] [PATCH 19/30] 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, 16 Jan 2018 05:16:46 -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 -- 1.9.1