From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 822BDA0524 for ; Tue, 25 Feb 2020 11:35:38 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 70AD31BFB6; Tue, 25 Feb 2020 11:35:38 +0100 (CET) Received: from mail-pl1-f172.google.com (mail-pl1-f172.google.com [209.85.214.172]) by dpdk.org (Postfix) with ESMTP id B9BF9B62 for ; Tue, 25 Feb 2020 11:35:37 +0100 (CET) Received: by mail-pl1-f172.google.com with SMTP id p7so943540pli.5 for ; Tue, 25 Feb 2020 02:35:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:in-reply-to:references; bh=A+vz3tgEXwSQfIqIKRytJC6sYCsU9JjM0wBEWec4mVs=; b=vANQilH9MEfWBL4P63pddIh6DWO2o6SK3BPJZncE9pWD6dL7Yk7QoJYUSX3KGBANm/ C0i+mBfpcNtvNNLQ7Up4bPc/+1RovmEii0Gvmho5qlAghgPmmCUS0sejxPFTMqjV5k19 KWtFppKAbdg7LxiJjJwr51KsRqzxwXJKopONX0L/GaEj0VnBVLeuX5lijhG2diMY6iFN afjuGkWCvqfYcCbRkzDXODZcT3797Vb4itjNs80dkG3WfcI94VVofIYIQHrwhoGbk22A Qw31hQfvFXldHFK3WYr2kjipeJDiuVh3yKPgDezNr195aUDjjffrl3fbIZuP6Y54+DgA FPmQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references; bh=A+vz3tgEXwSQfIqIKRytJC6sYCsU9JjM0wBEWec4mVs=; b=rg3VhHVTiw/ry7jxKauwsBmnyNsy2L6uFmFWdFgPBvpW0vhh7Lhe0PmbRyEJNqFCQJ vjyEfbyJhmY0qYNiXDoj/Xf9Kydg1rxgKYOyc30724deMv1b8lRVIh20UevhuG+FdXme szD9Uu6Cf7YEc5ZZM7F1fkGUbjDNbLqne9OgkAUC+CYe7xlXpwFXoNqVaXd/yBYd2qqf 0sFtjIpeN0OxKQecZJ8m3TbJWIq47axF6EnDW2TZxGEIyBrKCKqC0W/je83BIbB4k7rF X+ZpOlF5bGiZqcsGk8K4z/O/9TkJxYjiARQAFT8X/dgjxZUphq7xe6QtsxBSA7LQrAm+ TBhw== X-Gm-Message-State: APjAAAVX9Wfx5JlFjkLs3/pI9H2AHM5+Vbj4/9BmDGO2Kw9bcUul3Wvq Aw+w8ADKbUkAFLSvpWLCF/aQWfJx X-Google-Smtp-Source: APXvYqy6QmAPUmRD3Xu8YNj0LuMjmXE93E/M/qyR+GxTzd9Lu8aznDpFEOPxVfwX5xl+gDlH2YQM5A== X-Received: by 2002:a17:90a:e2ce:: with SMTP id fr14mr4208640pjb.99.1582626936674; Tue, 25 Feb 2020 02:35:36 -0800 (PST) Received: from localhost.localdomain ([2400:4050:c8c2:de00:35bc:b9a3:f404:3cf2]) by smtp.gmail.com with ESMTPSA id a10sm15819987pgk.71.2020.02.25.02.35.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 25 Feb 2020 02:35:36 -0800 (PST) From: Yasufumi Ogawa To: spp@dpdk.org, ferruh.yigit@intel.com, yasufum.o@gmail.com Date: Tue, 25 Feb 2020 19:34:43 +0900 Message-Id: <20200225103446.8243-27-yasufum.o@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200225103446.8243-1-yasufum.o@gmail.com> References: <20200225103446.8243-1-yasufum.o@gmail.com> Subject: [spp] [PATCH 26/29] docs: update old example in spp_primary container 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: , Errors-To: spp-bounces@dpdk.org Sender: "spp" Replace old vdev assignment of vhost with tap. Signed-off-by: Yasufumi Ogawa --- docs/guides/tools/sppc/usecases.rst | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/guides/tools/sppc/usecases.rst b/docs/guides/tools/sppc/usecases.rst index 8d3b73d..1bd5e0f 100644 --- a/docs/guides/tools/sppc/usecases.rst +++ b/docs/guides/tools/sppc/usecases.rst @@ -58,8 +58,8 @@ Then, ``spp.py`` in terminal 2. Move to terminal 3, launch app containers of ``spp_primary`` and ``spp_nfv`` step by step in background mode. -You notice that vhost device is attached with ``-dv 1`` which is not used -actually. +You notice that vhost device is attached with ``-d tap:1`` which is not +required if you have physical ports on host. It is because that SPP primary requires at least one port even if it is no need. You can also assign a physical port instead of this vhost device. @@ -68,7 +68,7 @@ You can also assign a physical port instead of this vhost device. # Terminal 3 $ cd /path/to/spp/tools/sppc - $ python3 app/spp-primary.py -l 0 -p 0x01 -dv 1 + $ python3 app/spp-primary.py -l 0 -p 0x01 -d tap:1 $ python3 app/spp-nfv.py -i 1 -l 1-2 $ python3 app/spp-nfv.py -i 2 -l 3-4 @@ -311,7 +311,7 @@ Use four of ``spp_nfv`` containers for using four vhost PMDs. # Terminal 3 $ cd /path/to/spp/tools/sppc - $ python3 app/spp-primary.py -l 0 -p 0x01 -dv 9 + $ python3 app/spp-primary.py -l 0 -p 0x01 -d tap:1 $ python3 app/spp-nfv.py -i 1 -l 1-2 $ python3 app/spp-nfv.py -i 2 -l 3-4 $ python3 app/spp-nfv.py -i 3 -l 5-6 @@ -419,7 +419,7 @@ Use two of ``spp_nfv`` containers for using four vhost PMDs. # Terminal 3 $ cd /path/to/spp/tools/sppc - $ python3 app/spp-primary.py -l 0 -p 0x01 -dv 9 + $ python3 app/spp-primary.py -l 0 -p 0x01 -d tap:1 $ python3 app/spp-nfv.py -i 1 -l 1,2 $ python3 app/spp-nfv.py -i 2 -l 1,3 @@ -548,7 +548,7 @@ Use six ``spp_nfv`` containers for using six vhost PMDs. # Terminal 3 $ cd /path/to/spp/tools/sppc - $ python3 app/spp-primary.py -l 0 -p 0x01 -dv 9 + $ python3 app/spp-primary.py -l 0 -p 0x01 -d tap:1 $ python3 app/spp-nfv.py -i 1 -l 1,2 $ python3 app/spp-nfv.py -i 2 -l 1,3 $ python3 app/spp-nfv.py -i 3 -l 1,4 -- 2.17.1