From mboxrd@z Thu Jan 1 00:00:00 1970 From: Harry van Haaren Subject: [PATCH v9 0/2] eal: add function to check primary alive Date: Wed, 9 Mar 2016 13:37:23 +0000 Message-ID: <1457530645-14776-1-git-send-email-harry.van.haaren@intel.com> References: <1457518362-32762-1-git-send-email-harry.van.haaren@intel.com> Cc: dev@dpdk.org To: david.marchand@6wind.com Return-path: Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by dpdk.org (Postfix) with ESMTP id 5C5F02BAA for ; Wed, 9 Mar 2016 14:37:37 +0100 (CET) In-Reply-To: <1457518362-32762-1-git-send-email-harry.van.haaren@intel.com> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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. v9: - Improve commit message for EAL fix v8: - include implementation of function (got lost in v7) v7: - split patch into two, one for eal fix, one for adding functionality v6: - Fix license header v5: - Renamed returns in doc from words to digits - Fixed line spacing in docs - Fixed line spacing in EAL header - Rebased to master (Makefile conflicts) v4: - Rebased to git head (2.3 -> 16.04 changes) v3: - Fixed Copyright years v2: - Passing NULL as const char* uses default /var/run/.rte_config - Moved co 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/eal_common_proc.c | 61 +++++++++++++++++++++++++ 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 + 9 files changed, 99 insertions(+), 8 deletions(-) create mode 100644 lib/librte_eal/common/eal_common_proc.c -- 2.5.0