[dpdk-stable] patch 'doc: add missing loopback option in testpmd guide' has been queued to LTS release 17.11.6
Yongseok Koh
yskoh at mellanox.com
Fri Mar 8 18:47:35 CET 2019
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 <ramirose at gmail.com>
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 <ramirose at gmail.com>
Acked-by: Bernard Iremonger <bernard.iremonger at intel.com>
---
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 <ramirose at gmail.com>
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 at dpdk.org
Signed-off-by: Rami Rosen <ramirose at gmail.com>
Acked-by: Bernard Iremonger <bernard.iremonger at intel.com>
@@ -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.
More information about the stable
mailing list