From patchwork Wed Nov 29 17:17:13 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: junjie.j.chen@intel.com X-Patchwork-Id: 31747 X-Patchwork-Delegate: thomas@monjalon.net Return-Path: X-Original-To: patchwork@dpdk.org Delivered-To: patchwork@dpdk.org Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 646262B9E; Wed, 29 Nov 2017 10:35:42 +0100 (CET) Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id AE7FB2661 for ; Wed, 29 Nov 2017 10:35:40 +0100 (CET) Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by fmsmga103.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 29 Nov 2017 01:35:39 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.44,472,1505804400"; d="scan'208";a="181489157" Received: from pppoe-test.sh.intel.com ([10.67.111.147]) by fmsmga005.fm.intel.com with ESMTP; 29 Nov 2017 01:35:38 -0800 From: Junjie Chen To: sergio.gonzalez.monroy@intel.com, john.mcnamara@intel.com, maryam.tahhan@intel.com, dev@dpdk.org Cc: Junjie Chen Date: Wed, 29 Nov 2017 12:17:13 -0500 Message-Id: <20171129171713.125795-1-junjie.j.chen@intel.com> X-Mailer: git-send-email 2.15.0 In-Reply-To: <20171128111050.60240-1-junjie.j.chen@intel.com> References: <20171128111050.60240-1-junjie.j.chen@intel.com> Subject: [dpdk-dev] [PATCH v3] 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: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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 Acked-by: John McNamara --- v3 changes: Use 'note' marker to make it clearer. doc/guides/prog_guide/multi_proc_support.rst | 4 ++++ doc/guides/tools/proc_info.rst | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/doc/guides/prog_guide/multi_proc_support.rst b/doc/guides/prog_guide/multi_proc_support.rst index 9a9dca7fe..4ca3f2c22 100644 --- a/doc/guides/prog_guide/multi_proc_support.rst +++ b/doc/guides/prog_guide/multi_proc_support.rst @@ -52,6 +52,10 @@ 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. +.. note:: + + Secondary processes should 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..1b81a7891 100644 --- a/doc/guides/tools/proc_info.rst +++ b/doc/guides/tools/proc_info.rst @@ -38,6 +38,10 @@ statistics, resetting port statistics and printing DPDK memory information. This application extends the original functionality that was supported by dump_cfg. +.. note:: + + dpdk-procinfo should run alongside primary process with same DPDK version. + Running the Application ----------------------- The application has a number of command line options: