From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id CF78C2661 for ; Wed, 29 Nov 2017 10:39:01 +0100 (CET) Received: from orsmga004.jf.intel.com ([10.7.209.38]) by fmsmga103.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 29 Nov 2017 01:39:00 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.44,472,1505804400"; d="scan'208";a="154314779" Received: from fmsmsx103.amr.corp.intel.com ([10.18.124.201]) by orsmga004.jf.intel.com with ESMTP; 29 Nov 2017 01:39:00 -0800 Received: from fmsmsx114.amr.corp.intel.com (10.18.116.8) by FMSMSX103.amr.corp.intel.com (10.18.124.201) with Microsoft SMTP Server (TLS) id 14.3.319.2; Wed, 29 Nov 2017 01:39:00 -0800 Received: from shsmsx104.ccr.corp.intel.com (10.239.4.70) by FMSMSX114.amr.corp.intel.com (10.18.116.8) with Microsoft SMTP Server (TLS) id 14.3.319.2; Wed, 29 Nov 2017 01:38:59 -0800 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.159]) by SHSMSX104.ccr.corp.intel.com ([169.254.5.152]) with mapi id 14.03.0319.002; Wed, 29 Nov 2017 17:38:57 +0800 From: "Chen, Junjie J" To: "Richardson, Bruce" CC: "Gonzalez Monroy, Sergio" , "Mcnamara, John" , "Tahhan, Maryam" , "Pattan, Reshma" , "dev@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH] doc: add a restriction to multi-process support Thread-Index: AQHTZ+7B9dZFF+BERECtvbkpE64pPKMpIFoAgAH7N3A= Date: Wed, 29 Nov 2017 09:38:57 +0000 Message-ID: References: <20171128095654.6452-1-junjie.j.chen@intel.com> <20171128112224.GA5724@bricha3-MOBL3.ger.corp.intel.com> In-Reply-To: <20171128112224.GA5724@bricha3-MOBL3.ger.corp.intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-version: 11.0.0.116 dlp-reaction: no-action x-ctpclassification: CTP_IC x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiMGRjM2FiMmItZDdlOS00N2QzLWFlNDItZmRhN2Y5YjkzM2NhIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX0lDIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjIuNS4xOCIsIlRydXN0ZWRMYWJlbEhhc2giOiJNNmRGb3oreXJuYit3RzNmUXFTdHNoYjRGeVhoQUFkTnlmbW9ydnQ3OGgzczh2KzhIaTlvT1NvdUhqVUlPejgzIn0= x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH] doc: add a restriction to multi-process support 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: Wed, 29 Nov 2017 09:39:02 -0000 > -----Original Message----- > From: Richardson, Bruce > Sent: Tuesday, November 28, 2017 7:22 PM > To: Chen, Junjie J > Cc: Gonzalez Monroy, Sergio ; Mcnamara, > John ; Tahhan, Maryam > ; Pattan, Reshma ; > dev@dpdk.org > Subject: Re: [dpdk-dev] [PATCH] doc: add a restriction to multi-process s= upport >=20 > On Tue, Nov 28, 2017 at 04:56:54AM -0500, junjie.j.chen@intel.com wrote: > > From: Junjie Chen > > > > This patch add a restriction to multi-process support: secondary > > processes should only run alongside primary process with same DPDK > > version, so that secondary processes can use the same hugepage mmap > > layout as primary process. > > > > Signed-off-by: Junjie Chen > > --- > > doc/guides/prog_guide/multi_proc_support.rst | 1 + > > doc/guides/tools/proc_info.rst | 3 ++- > > 2 files changed, 3 insertions(+), 1 deletion(-) > > > > diff --git a/doc/guides/prog_guide/multi_proc_support.rst > > b/doc/guides/prog_guide/multi_proc_support.rst > > index 9a9dca7fe..0cd67ae2d 100644 > > --- a/doc/guides/prog_guide/multi_proc_support.rst > > +++ b/doc/guides/prog_guide/multi_proc_support.rst > > @@ -51,6 +51,7 @@ For now, there are two types of process specified: > > Standalone DPDK processes are primary processes, while secondary > > processes can only run alongside a primary process or after a primary > > process has already configured the hugepage shared memory for them. > > +And secondary processes should only run alongside primary process with > same DPDK version. > > > > To support these two process types, and other multi-process setups > > described later, two additional command-line parameters are available = to > the EAL: > > diff --git a/doc/guides/tools/proc_info.rst > > b/doc/guides/tools/proc_info.rst index fd17e278c..512fd3263 100644 > > --- a/doc/guides/tools/proc_info.rst > > +++ b/doc/guides/tools/proc_info.rst > > @@ -36,7 +36,8 @@ The dpdk-procinfo application is a Data Plane > > Development Kit (DPDK) application that runs as a DPDK secondary > > process and is capable of retrieving port statistics, resetting port s= tatistics > and printing DPDK memory information. > > This application extends the original functionality that was > > supported by -dump_cfg. > > +dump_cfg. Note that dpdk-procinfo can only run alongside primary > > +process with same DPDK version. > > > > Running the Application > > ----------------------- > > -- > Good to add to the docs. I suggest that you add them using the proper "no= te" > markup to make it clearer in the docs. > /Bruce Thanks, done. Junjie