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 4ED2332A5 for ; Tue, 8 Mar 2016 18:08:55 +0100 (CET) Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga103.fm.intel.com with ESMTP; 08 Mar 2016 09:07:17 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.22,557,1449561600"; d="scan'208";a="932333590" Received: from sie-lab-212-120.ir.intel.com (HELO silpixa00394367.ir.intel.com) ([10.237.212.120]) by fmsmga002.fm.intel.com with ESMTP; 08 Mar 2016 09:07:16 -0800 From: Harry van Haaren To: david.marchand@6wind.com Date: Tue, 8 Mar 2016 17:07:03 +0000 Message-Id: <1457456825-28667-1-git-send-email-harry.van.haaren@intel.com> X-Mailer: git-send-email 2.5.0 In-Reply-To: <1457352177-12567-1-git-send-email-harry.van.haaren@intel.com> References: <1457352177-12567-1-git-send-email-harry.van.haaren@intel.com> Cc: dev@dpdk.org Subject: [dpdk-dev] [PATCH v7 0/2] eal: add function to check primary alive X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Mar 2016 17:08:55 -0000 The first patch of this patchset contains a fix for EAL PCI probing, to avoid a race-condition where a primary and secondary probe PCI devices at the same time. The second patch adds a function that can be polled by a process to detect if a DPDK primary process is alive. This function does not rely on rte_eal_init(), as this uses the EAL and thus stops a primary from starting. The functionality provided by this patch is very useful for providing additional services to DPDK primary applications such as monitoring statistics and performing fault detection. Harry van Haaren (2): eal: fix race-condition in pri/sec proc startup eal: add function to check if primary proc alive doc/guides/rel_notes/release_16_04.rst | 8 ++++++++ lib/librte_eal/bsdapp/eal/Makefile | 1 + lib/librte_eal/bsdapp/eal/eal.c | 6 +++--- lib/librte_eal/bsdapp/eal/rte_eal_version.map | 1 + lib/librte_eal/common/include/rte_eal.h | 20 +++++++++++++++++++- lib/librte_eal/linuxapp/eal/Makefile | 3 ++- lib/librte_eal/linuxapp/eal/eal.c | 6 +++--- lib/librte_eal/linuxapp/eal/rte_eal_version.map | 1 + 8 files changed, 38 insertions(+), 8 deletions(-) -- 2.5.0