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 A9BDE37AA for ; Mon, 25 Jan 2016 12:45:02 +0100 (CET) Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga103.fm.intel.com with ESMTP; 25 Jan 2016 03:45:01 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.22,344,1449561600"; d="scan'208";a="35709857" Received: from irsmsx110.ger.corp.intel.com ([163.33.3.25]) by fmsmga004.fm.intel.com with ESMTP; 25 Jan 2016 03:45:01 -0800 Received: from irsmsx102.ger.corp.intel.com ([169.254.2.97]) by irsmsx110.ger.corp.intel.com ([169.254.15.31]) with mapi id 14.03.0248.002; Mon, 25 Jan 2016 11:44:59 +0000 From: "Van Haaren, Harry" To: "Richardson, Bruce" Thread-Topic: [dpdk-dev] [PATCH] eal: add function to check if primary proc alive Thread-Index: AQHRU4YWhvADP+xDWU6YXyDiXb5ALp8FrD4ggAIj7QCABDChwA== Date: Mon, 25 Jan 2016 11:44:59 +0000 Message-ID: References: <1453296322-1210-1-git-send-email-harry.van.haaren@intel.com> <533710CFB86FA344BFBF2D6802E6028622F1E7EA@SHSMSX101.ccr.corp.intel.com> <20160122173747.GB13424@bricha3-MOBL3> In-Reply-To: <20160122173747.GB13424@bricha3-MOBL3> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiZWRlOTAyODMtN2YzNy00ZmU1LWIxZDctYjc3NGY0YTU2ZTYzIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX1BVQkxJQyJ9XX1dfSwiU3ViamVjdExhYmVscyI6W10sIlRNQ1ZlcnNpb24iOiIxNS40LjEwLjE5IiwiVHJ1c3RlZExhYmVsSGFzaCI6InhHYUlWczNzZUU2c3FQWDFER1lrdVE3XC8raHBueERhUjB6QnlnWWFYWVJ3PSJ9 x-ctpclassification: CTP_PUBLIC x-originating-ip: [163.33.239.181] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Cc: "dev@dpdk.org" Subject: Re: [dpdk-dev] [PATCH] eal: add function to check if primary proc 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: Mon, 25 Jan 2016 11:45:03 -0000 > From: Richardson, Bruce > The details of what the config file is should largely be hidden from the = user > IMHO. Agreed, however hiding it totally removes the flexibility of waiting for a = primary that is starting with --file-prefix (aka: in a non-default location). Impos= ing a limit on only monitoring primary procs in the default location seems wron= g. > If you want to allow a secondary to query an arbitrary primary process ca= n you > still allow a NULL string to query the default primary based on the passe= d in > file-prefix parameter (if any)? Yep, I've made a v2 which includes handling NULL as path arg and using the default config file, will post later after some more testing. -Harry