From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mellanox.co.il (mail-il-dmz.mellanox.com [193.47.165.129]) by dpdk.org (Postfix) with ESMTP id B536F2BA5 for ; Fri, 8 Mar 2019 18:49:27 +0100 (CET) Received: from Internal Mail-Server by MTLPINE1 (envelope-from yskoh@mellanox.com) with ESMTPS (AES256-SHA encrypted); 8 Mar 2019 19:49:25 +0200 Received: from scfae-sc-2.mti.labs.mlnx (scfae-sc-2.mti.labs.mlnx [10.101.0.96]) by labmailer.mlnx (8.13.8/8.13.8) with ESMTP id x28HloBD002625; Fri, 8 Mar 2019 19:49:24 +0200 From: Yongseok Koh To: Rami Rosen Cc: Bernard Iremonger , dpdk stable Date: Fri, 8 Mar 2019 09:47:35 -0800 Message-Id: <20190308174749.30771-57-yskoh@mellanox.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20190308174749.30771-1-yskoh@mellanox.com> References: <20190308174749.30771-1-yskoh@mellanox.com> Subject: [dpdk-stable] patch 'doc: add missing loopback option in testpmd guide' has been queued to LTS release 17.11.6 X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Mar 2019 17:49:28 -0000 Hi, FYI, your patch has been queued to LTS release 17.11.6 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objection by 03/13/19. So please shout if anyone has objection. Also note that after the patch there's a diff of the upstream commit vs the patch applied to the branch. If the code is different (ie: not only metadata diffs), due for example to a change in context or macro names, please double check it. Thanks. Yongseok --- >>From 51961c669889317c24380263b16eaaa7ac47ae2c Mon Sep 17 00:00:00 2001 From: Rami Rosen Date: Thu, 17 Jan 2019 13:39:26 +0200 Subject: [PATCH] doc: add missing loopback option in testpmd guide [ upstream commit 48670ed6f77adb44e696eb2b97592e25a2889fb6 ] This patch adds a missing topology "loop" mode for port-topology option in testpmd guide. The testpmd "loop" 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") Signed-off-by: Rami Rosen Acked-by: Bernard Iremonger --- 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 e50281376..809936046 100644 --- a/doc/guides/testpmd_app_ug/run_app.rst +++ b/doc/guides/testpmd_app_ug/run_app.rst @@ -341,7 +341,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 ``loop``. In ``paired`` mode, the forwarding is between pairs of ports, for example: (0,1), (2,3), (4,5). @@ -349,6 +349,8 @@ The commandline options are: The ordering of the ports can be changed using the portlist testpmd runtime function. + In ``loop`` 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:: -- 2.11.0 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2019-03-08 09:46:43.017977806 -0800 +++ 0057-doc-add-missing-loopback-option-in-testpmd-guide.patch 2019-03-08 09:46:40.299402000 -0800 @@ -1,8 +1,10 @@ -From 48670ed6f77adb44e696eb2b97592e25a2889fb6 Mon Sep 17 00:00:00 2001 +From 51961c669889317c24380263b16eaaa7ac47ae2c Mon Sep 17 00:00:00 2001 From: Rami Rosen Date: Thu, 17 Jan 2019 13:39:26 +0200 Subject: [PATCH] doc: add missing loopback option in testpmd guide +[ upstream commit 48670ed6f77adb44e696eb2b97592e25a2889fb6 ] + This patch adds a missing topology "loop" mode for port-topology option in testpmd guide. The testpmd "loop" option (PORT_TOPOLOGY_LOOP) was added to testpmd parameter @@ -10,7 +12,6 @@ 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 Acked-by: Bernard Iremonger @@ -19,10 +20,10 @@ 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 f717bd3f4..4495ed038 100644 +index e50281376..809936046 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: +@@ -341,7 +341,7 @@ The commandline options are: * ``--port-topology=mode`` @@ -31,7 +32,7 @@ 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: +@@ -349,6 +349,8 @@ The commandline options are: The ordering of the ports can be changed using the portlist testpmd runtime function.