From mboxrd@z Thu Jan 1 00:00:00 1970 From: Arnon Warshavsky Subject: Re: [PATCH v9 09/10] eal: replace rte_panic instances in init sequence Date: Fri, 27 Apr 2018 01:08:42 +0300 Message-ID: References: <1524663944-30376-11-git-send-email-arnon@qwilt.com> <1524723664-30510-1-git-send-email-arnon@qwilt.com> <1524723664-30510-10-git-send-email-arnon@qwilt.com> <621e7964-0450-a66e-cbf3-4fbc3a5ad723@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Cc: Thomas Monjalon , "Burakov, Anatoly" , "Lu, Wenzhuo" , "Doherty, Declan" , jerin.jacob@caviumnetworks.com, Bruce Richardson , "Yigit, Ferruh" , dev@dpdk.org To: Kevin Traynor Return-path: Received: from mail-it0-f65.google.com (mail-it0-f65.google.com [209.85.214.65]) by dpdk.org (Postfix) with ESMTP id 391587EEF for ; Fri, 27 Apr 2018 00:08:43 +0200 (CEST) Received: by mail-it0-f65.google.com with SMTP id 144-v6so284255iti.5 for ; Thu, 26 Apr 2018 15:08:43 -0700 (PDT) In-Reply-To: <621e7964-0450-a66e-cbf3-4fbc3a5ad723@redhat.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" Hi Kevin > > + if (rte_config_init() != 0) > > + return -1; > > + > > I'm confused, is this deliberate? there is now two rte_config_init() > calls. Please note that there are 2 eal.c files. One under linux and one under bsd There is a copy of rte_config_init() in each. > Aaron's comments on v4 about rte_eal_init_alert() are missed? and > it's missing the clear once and error number like the other returns. > These comments were for code that I reverted to call panic again. As Aaron pointed out, the partial treatment of v4 did not only not-improve things, rather made them worst. This code along with other panic instances thrown from within threads will have a dedicated patchset. Thanks /Arnon