From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH v4] eal: add function to check if primary proc alive Date: Fri, 04 Mar 2016 19:07:33 +0100 Message-ID: <1982135.2bKeWPYzB5@xps13> References: <1454422283-14025-1-git-send-email-harry.van.haaren@intel.com> <1456236612-30021-1-git-send-email-harry.van.haaren@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org To: Harry van Haaren Return-path: Received: from mail-wm0-f49.google.com (mail-wm0-f49.google.com [74.125.82.49]) by dpdk.org (Postfix) with ESMTP id 9BAE72946 for ; Fri, 4 Mar 2016 19:09:10 +0100 (CET) Received: by mail-wm0-f49.google.com with SMTP id l68so30812772wml.0 for ; Fri, 04 Mar 2016 10:09:10 -0800 (PST) In-Reply-To: <1456236612-30021-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" I'm looking into details... 2016-02-23 14:10, Harry van Haaren: > EAL > ~~~ > > +* **Added rte_eal_primary_proc_alive() function** > + > + A new function ``rte_eal_primary_proc_alive()`` has been added > + to allow the user to detect if a primary process is running. > + Use cases for this feature include fault detection, and monitoring > + using secondary processes. > A space is missing here (2 lines before next title). > Drivers > ~~~~~~~ [...] > + * Copyright 2016 Intel Shannon Ltd. All rights reserved. I had not noticed before. Intel Shannon Ltd is a separate entity? [...] > + * @return > + * - If alive, returns one. > + * - If dead, returns zero. Why not use digits? > + */ > +int rte_eal_primary_proc_alive(const char *config_file_path); > + > + The functions are usually separated by only 1 line, except in keepalive for an unknown reason.