From patchwork Tue Nov 28 11:10:50 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: 31702 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 7757C28EE; Tue, 28 Nov 2017 04:29:20 +0100 (CET) Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id B036F239 for ; Tue, 28 Nov 2017 04:29:18 +0100 (CET) Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by fmsmga101.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 27 Nov 2017 19:29:17 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.44,466,1505804400"; d="scan'208";a="181342045" Received: from pppoe-test.sh.intel.com ([10.67.111.147]) by fmsmga006.fm.intel.com with ESMTP; 27 Nov 2017 19:29:16 -0800 From: junjie.j.chen@intel.com To: sergio.gonzalez.monroy@intel.com, john.mcnamara@intel.com, maryam.tahhan@intel.com, dev@dpdk.org Cc: Junjie Chen Date: Tue, 28 Nov 2017 06:10:50 -0500 Message-Id: <20171128111050.60240-1-junjie.j.chen@intel.com> X-Mailer: git-send-email 2.15.0 Subject: [dpdk-dev] [PATCH v2] 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" 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..57c88f2f0 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 statistics 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 -----------------------