From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH v8 08/10] eal: add minimum viable code for eal on windows Date: Tue, 02 Apr 2019 23:38:56 +0200 Message-ID: <1828556.vUbNugSFqY@xps> References: <20190306041634.12976-1-anand.rawat@intel.com> <3868443.jK6Cv4ngdr@xps> <3ac129fb-709d-833a-234a-286793e2a322@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: Anand Rawat , dev@dpdk.org, ranjit.menon@intel.com, jeffrey.b.shaw@intel.com, bruce.richardson@intel.com To: Pallavi Kadam Return-path: Received: from out2-smtp.messagingengine.com (out2-smtp.messagingengine.com [66.111.4.26]) by dpdk.org (Postfix) with ESMTP id 66D301B11A for ; Tue, 2 Apr 2019 23:39:00 +0200 (CEST) In-Reply-To: <3ac129fb-709d-833a-234a-286793e2a322@intel.com> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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.