From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pallavi Kadam Subject: Re: [PATCH v8 08/10] eal: add minimum viable code for eal on windows Date: Tue, 2 Apr 2019 14:46:45 -0700 Message-ID: References: <20190306041634.12976-1-anand.rawat@intel.com> <3868443.jK6Cv4ngdr@xps> <3ac129fb-709d-833a-234a-286793e2a322@intel.com> <1828556.vUbNugSFqY@xps> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Cc: Anand Rawat , dev@dpdk.org, ranjit.menon@intel.com, jeffrey.b.shaw@intel.com, bruce.richardson@intel.com To: Thomas Monjalon Return-path: Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id A31E11B138 for ; Tue, 2 Apr 2019 23:46:46 +0200 (CEST) In-Reply-To: <1828556.vUbNugSFqY@xps> Content-Language: en-US List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On 4/2/2019 2:38 PM, Thomas Monjalon wrote: > 02/04/2019 23:21, Pallavi Kadam: >> On 4/2/2019 1:06 PM, Thomas Monjalon wrote: >>> 02/04/2019 05:54, Anand Rawat: >>>> Add windows specific logic for eal.c, eal_lcore.c, >>>> eal_debug.c and eal_thread.c. Updated header files to >>>> contain suitable function declaractions. >>>> >>>> Signed-off-by: Anand Rawat >>>> Signed-off-by: Pallavi Kadam >>>> Reviewed-by: Jeff Shaw >>>> Reviewed-by: Ranjit Menon >>>> --- >>> [...] >>>> + /* >>>> + * create communication pipes between master thread >>>> + * and children >>>> + */ >>>> + if (_pipe(lcore_config[i].pipe_master2slave, >>>> + sizeof(char), _O_BINARY) < 0) >>>> + rte_panic("Cannot create pipe\n"); >>> rte_panic should be used only in applications, not in libraries. >>> The application can do something in case of DPDK failure. >>> Please remove all calls to rte_panic() during next weeks, thanks. >> Ok, will try to incorporate in v9. Just curious, is this the major issue? >> >> Calls to rte_panic() can be seen in linux/eal and freebsd/eal. > No, there is a misunderstanding. > I am merging v8 and I am asking for a new patch to remove these calls. > > By the way, I am fixing patch 3, please check my comment on this patch. Got it. Thanks. > > >