From mboxrd@z Thu Jan 1 00:00:00 1970 From: Arnon Warshavsky Subject: Re: [PATCH v6 05/11] eal: replace rte_panic instances in eventdev Date: Tue, 24 Apr 2018 22:28:43 +0300 Message-ID: References: <1524552123-31378-1-git-send-email-arnon@qwilt.com> <1524552123-31378-6-git-send-email-arnon@qwilt.com> <20180424080646.2fcff45e@xeon-e3> 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: Stephen Hemminger Return-path: Received: from mail-io0-f174.google.com (mail-io0-f174.google.com [209.85.223.174]) by dpdk.org (Postfix) with ESMTP id EDA692C18 for ; Tue, 24 Apr 2018 21:28:44 +0200 (CEST) Received: by mail-io0-f174.google.com with SMTP id c26-v6so24073333iob.3 for ; Tue, 24 Apr 2018 12:28:44 -0700 (PDT) In-Reply-To: <20180424080646.2fcff45e@xeon-e3> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Thanks. Same as with dpaa On Tue, Apr 24, 2018 at 6:06 PM, Stephen Hemminger < stephen@networkplumber.org> wrote: > On Tue, 24 Apr 2018 09:41:57 +0300 > Arnon Warshavsky wrote: > > > + if (eventdev->data->dev_private == NULL) { > > + RTE_LOG(CRIT, EAL, "%s(): Cannot allocate memzone > for private device data", > > + __func__); > > + return -ENOMEM; > > + } > > In eventdev, use RTE_EDEV_LOG_ERR for this. > -- *Arnon Warshavsky* *Qwilt | work: +972-72-2221634 | mobile: +972-50-8583058 | arnon@qwilt.com *