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 1F80FA057B for ; Mon, 13 Apr 2020 01:01:00 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id E3D081B53; Mon, 13 Apr 2020 01:00:59 +0200 (CEST) Received: from mail.valinux.co.jp (mail.valinux.co.jp [210.128.90.3]) by dpdk.org (Postfix) with ESMTP id 1F79F1B53 for ; Mon, 13 Apr 2020 01:00:59 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by mail.valinux.co.jp (Postfix) with ESMTP id 31A6F9FC9D; Mon, 13 Apr 2020 08:00:58 +0900 (JST) X-Virus-Scanned: Debian amavisd-new at valinux.co.jp Received: from mail.valinux.co.jp ([127.0.0.1]) by localhost (mail.valinux.co.jp [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id yyvkBNCrb7RJ; Mon, 13 Apr 2020 08:00:58 +0900 (JST) Received: from valinux.co.jp (vagw.valinux.co.jp [210.128.90.14]) by mail.valinux.co.jp (Postfix) with ESMTP id 1AF009FC90; Mon, 13 Apr 2020 08:00:58 +0900 (JST) From: Itsuro Oda To: spp@dpdk.org, ferruh.yigit@intel.com, yasufum.o@gmail.com Date: Mon, 13 Apr 2020 08:00:55 +0900 Message-Id: <20200412230057.28631-2-oda@valinux.co.jp> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200412230057.28631-1-oda@valinux.co.jp> References: <20200412230057.28631-1-oda@valinux.co.jp> Subject: [spp] [PATCH 1/3] docs: add CLI for pipe PMD 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" This patch adds description about CLI for pipe PMD. Signed-off-by: Itsuro Oda --- docs/guides/commands/primary.rst | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/docs/guides/commands/primary.rst b/docs/guides/commands/primary.rst index cb510a6..7c55166 100644 --- a/docs/guides/commands/primary.rst +++ b/docs/guides/commands/primary.rst @@ -51,6 +51,8 @@ Show status fo ``spp_primary`` and forwarding statistics of each of ports. spp > pri; status - lcore_ids: - master: 0 + - pipes: + - pipe:0 ring:0 ring:1 - stats - physical ports: ID rx tx tx_drop rxq txq mac_addr @@ -78,6 +80,7 @@ also displayed. - ports: - phy:0 - phy:1 + - pipes: - stats - physical ports: ID rx tx tx_drop mac_addr @@ -110,6 +113,7 @@ add Add a port with resource ID. +If the type of a port is other than pipe, specify port only. For example, adding ``ring:0`` by .. code-block:: console @@ -124,6 +128,18 @@ Or adding ``vhost:0`` by spp > pri; add vhost:0 Add vhost:0. +If the type of a port is pipe, specify a ring for rx and a ring +for tx following a port. For example, + +.. code-block:: console + + spp > pri; add pipe:0 ring:0 ring:1 + Add pipe:0. + +.. note:: + + pipe is independent of the forwarder and can be added even if the + forwarder does not exist. .. _commands_primary_patch: -- 2.17.0