From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by dpdk.org (Postfix) with ESMTP id C74374C74; Thu, 17 Jan 2019 11:54:51 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga007.jf.intel.com ([10.7.209.58]) by fmsmga105.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 17 Jan 2019 02:54:50 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.56,488,1539673200"; d="scan'208";a="107292932" Received: from irsmsx154.ger.corp.intel.com ([163.33.192.96]) by orsmga007.jf.intel.com with ESMTP; 17 Jan 2019 02:54:49 -0800 Received: from irsmsx108.ger.corp.intel.com ([169.254.11.205]) by IRSMSX154.ger.corp.intel.com ([169.254.12.253]) with mapi id 14.03.0415.000; Thu, 17 Jan 2019 10:54:48 +0000 From: "Iremonger, Bernard" To: Rami Rosen , "dev@dpdk.org" CC: "stable@dpdk.org" , "Mcnamara, John" Thread-Topic: [dpdk-dev] [PATCH] doc: add missing loopback option in testpmd guide Thread-Index: AQHUrkd+xCcoLPLfSkKAdfUTc9AGbKWzSFYQ Date: Thu, 17 Jan 2019 10:54:47 +0000 Message-ID: <8CEF83825BEC744B83065625E567D7C260D4F864@IRSMSX108.ger.corp.intel.com> References: <1547717473-7213-1-git-send-email-ramirose@gmail.com> In-Reply-To: <1547717473-7213-1-git-send-email-ramirose@gmail.com> Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiODljODg3OTEtZjQ4Mi00Yzc2LTllYzItN2UwOGFkYzQxNWM1IiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoibGFzS2h0VTNtR0VFaHVTWENHY0hGK2pUV20zYXRnYVR4VlBoZytmXC9CVnZDOGR0NjRhSEhCb1VUZjJEd3FKdHYifQ== x-ctpclassification: CTP_NT dlp-product: dlpe-windows dlp-version: 11.0.400.15 dlp-reaction: no-action x-originating-ip: [163.33.239.182] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [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 10:54:52 -0000 Hi Rami > -----Original Message----- > From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Rami Rosen > Sent: Thursday, January 17, 2019 9:31 AM > To: dev@dpdk.org > Cc: stable@dpdk.org; Mcnamara, John ; Rami > Rosen > Subject: [dpdk-dev] [PATCH] doc: add missing loopback option in testpmd g= uide >=20 > 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. >=20 > 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(-) >=20 > 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: >=20 > * ``--port-topology=3Dmode`` >=20 > - Set port topology, where mode is ``paired`` (the default) or ``chain= ed``. > + Set port topology, where mode is ``paired`` (the default), ``chained= `` or > ``loopback``. In the C code (app/test-pmd/parameters.c) "loop" is used instead of "loopba= ck". The run_app.rst file should use "loop" as well. =20 > In ``paired`` mode, the forwarding is between pairs of ports, for ex= ample: > (0,1), (2,3), (4,5). >=20 > @@ -204,6 +204,8 @@ The commandline options are: >=20 > The ordering of the ports can be changed using the portlist testpmd = runtime > function. >=20 > + In ``loopback`` mode, ingress traffic is simply transmitted back on = the same > interface. > + > * ``--forward-mode=3Dmode`` >=20 > Set the forwarding mode where ``mode`` is one of the following:: > -- > 1.8.3.1 Regards, Bernard.