From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm1-f68.google.com (mail-wm1-f68.google.com [209.85.128.68]) by dpdk.org (Postfix) with ESMTP id E88A03257; Thu, 17 Jan 2019 10:31:20 +0100 (CET) Received: by mail-wm1-f68.google.com with SMTP id b11so285625wmj.1; Thu, 17 Jan 2019 01:31:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=ROYuTl7fSePm9MxyX3PSj/GTbqbzKdlAdXAznQJ6Qk0=; b=VmHET7y58vz30KuwpWW/TI9sTFjkRkYFv66QOB5l9MB+j+x/6MSFUsK+FKVee6JG1l 3TS/efxrylSx3feufxx5FAuagGBTrDkCEVIZIHsu0ZS0UCTJPLF6qKa8FnRF/YcfgkeT 96lFSH8xBvbOSvDEfdxsfn23oU691N0IOuriXxeFD/ZdQRjp0lrhNj1F9uJi7IFotI/c M7V+J/RRjoHg1PbokKXrzH95tzkRcIxIYxe7nIbGPQ0tP3PqzdgB15kXgSUruuNfAhbi 6RkMD7OW2hPmZLXzeUS9ZCpZBI2Vn/f3fAYCbGVS3r8oJ/5FvHvOHmQN/NRkAvXhFLbl 8fCg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=ROYuTl7fSePm9MxyX3PSj/GTbqbzKdlAdXAznQJ6Qk0=; b=b7Tddzw17084qzSaDW4JmQ6ETWS4QK3U+gwRJ7SegtgzxqgUMN6zlqUg3AOU3N58Ix k9Do0XVSZ/xDCh7Ri31eOFWIQUtZiifAO34xuFD3PaC3zB2AeFMiLLkasnA+eKSZP+Oq Hi2ICjfi1gujVD6hoS+3pm4fe0c9nsHbUr34nmhSROtddGNt4IWOXNOFDQcdmJQZvtaV OCR6aB92/g8en3fSmccWPmDARhltWcOr8Oc1BzusTdajJO6eBGlx+nDBvt4pPKlUQ/lk n73PxH8c4E7hhj1WgCmWBaPskHzCpo3kz8tFmGJA1A4CtKWN270K0F6/qQC2Mh912+0Z XbKA== X-Gm-Message-State: AJcUukeBpEG2riNx1gA8qWxnS6QYGZpHJwcTVU/5MelMkdyJy+F59ele u3ZnfO7Bs5IMSq6bgODAGn7dN7Xd/rY= X-Google-Smtp-Source: ALg8bN7CS0haoLiBCRdKp8u8nZQhZBO9UFRo/rluAmoRuB8I9YWaTbBLCbmNWEhmE1HZbXcPPnW+/A== X-Received: by 2002:a1c:70b:: with SMTP id 11mr11326290wmh.74.1547717480379; Thu, 17 Jan 2019 01:31:20 -0800 (PST) Received: from herc.netio.cloud ([212.199.245.54]) by smtp.gmail.com with ESMTPSA id 198sm65979713wmt.36.2019.01.17.01.31.19 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 17 Jan 2019 01:31:19 -0800 (PST) From: Rami Rosen To: dev@dpdk.org Cc: stable@dpdk.org, john.mcnamara@intel.com, Rami Rosen Date: Thu, 17 Jan 2019 11:31:13 +0200 Message-Id: <1547717473-7213-1-git-send-email-ramirose@gmail.com> X-Mailer: git-send-email 1.8.3.1 Subject: [dpdk-dev] [PATCH] doc: add missing loopback option in testpmd guide X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Jan 2019 09:31:21 -0000 This patch adds a missing topology loopback mode for port-topology option in testpmd guide. The testpmd loopback option (PORT_TOPOLOGY_LOOP) was added to testpmd parameter port-topology back in 2014, but it seems that it was never added to the testpmd guide. This patch adds it in the testpmd guide. Fixes: 3e2006d6186c ("app/testpmd: add loopback topology") Cc: stable@dpdk.org Signed-off-by: Rami Rosen --- doc/guides/testpmd_app_ug/run_app.rst | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/doc/guides/testpmd_app_ug/run_app.rst b/doc/guides/testpmd_app_ug/run_app.rst index f717bd3..ee51b1d 100644 --- a/doc/guides/testpmd_app_ug/run_app.rst +++ b/doc/guides/testpmd_app_ug/run_app.rst @@ -196,7 +196,7 @@ The commandline options are: * ``--port-topology=mode`` - Set port topology, where mode is ``paired`` (the default) or ``chained``. + Set port topology, where mode is ``paired`` (the default), ``chained`` or ``loopback``. In ``paired`` mode, the forwarding is between pairs of ports, for example: (0,1), (2,3), (4,5). @@ -204,6 +204,8 @@ The commandline options are: The ordering of the ports can be changed using the portlist testpmd runtime function. + In ``loopback`` mode, ingress traffic is simply transmitted back on the same interface. + * ``--forward-mode=mode`` Set the forwarding mode where ``mode`` is one of the following:: -- 1.8.3.1