From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pf0-f176.google.com (mail-pf0-f176.google.com [209.85.192.176]) by dpdk.org (Postfix) with ESMTP id 9DA4A49CF for ; Tue, 24 Apr 2018 17:06:49 +0200 (CEST) Received: by mail-pf0-f176.google.com with SMTP id g14so12504494pfh.3 for ; Tue, 24 Apr 2018 08:06:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=6C2O8j39OZvD94hRGheFRi+aCUjDneJguXZnv3EcD+c=; b=oPe8YKHaRPIu4X3k1DEmrBKnGBYYpO10T9wfX88txtCSoUH8HHS+ctcr5uY0+fcw21 VBAUmEoYr7QAcssPXS0Fg+BR+Jfg1gxA9CuSBFm951iNSDGjM9hU6LiE1k7k1MURd/kV fxwlJllqrNU6QbA4ZRRB0PDGEdvGegnSYV25Av+tjXTleGIFvY86oJLiP0QsfP2731TT 5Keu1oLCePcdtNS5MK9aegTxcSATGBom+hJXKinIonSnyANFGEUjF/aRNN2UENZZHFQE yvgptpVu4hc5DYCGbOFGDLRRunY0fX7fFnqOPNkw4ZJ/8HhhnPJjbJMXeUuNVGtq2GDY /jCA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=6C2O8j39OZvD94hRGheFRi+aCUjDneJguXZnv3EcD+c=; b=dE+WxxlujPyqh8NFxzll7DFhrlz9zIaCLR825YgNpy/RdEsItylj12/tsZABR+1ZYJ DZKuyj3WI0vkerv/5uAC1WtZXF2W6D+xDjgQOib5R29XE0NCKKKnwmHVQ5YhSXDDAUFT 4RcXmpGer1aiH76Q8cI4FbH4FnQi6gnJxlSXZkiCwZ7SwwkjHhzujTTVJdPhmGT5KMz5 +9l0LKb854GlHWjfv798a4s41ZQdD+hbAjW2GkCPQDXzN+P9UC/zC3LH8Y319LbXeTDb CP7l3OV7V1KzNPYbyJsNZf4FT8GWqkaz8OqSMGkc2K6gCjRQMXSFnFTdyBjPropX8dro 5JSg== X-Gm-Message-State: ALQs6tAWU8hXiAqrew6pgzYBd8ZCTEN2ZWrTC0TL4rAPkHP+6qnBzf5E BQXzAA+vkV6Se6Sqaw66/ymtKQ== X-Google-Smtp-Source: AB8JxZpQJfswwy+Z8lSej2RXnmUfYEgBeb+VSal0Lotf69AaHCO1f+BwrMTKuCOzTiGW7wruCp/e3w== X-Received: by 2002:a17:902:9688:: with SMTP id n8-v6mr1308601plp.366.1524582408807; Tue, 24 Apr 2018 08:06:48 -0700 (PDT) Received: from xeon-e3 (204-195-71-95.wavecable.com. [204.195.71.95]) by smtp.gmail.com with ESMTPSA id z127sm26693145pfb.72.2018.04.24.08.06.48 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 24 Apr 2018 08:06:48 -0700 (PDT) Date: Tue, 24 Apr 2018 08:06:46 -0700 From: Stephen Hemminger To: Arnon Warshavsky Cc: thomas@monjalon.net, anatoly.burakov@intel.com, wenzhuo.lu@intel.com, declan.doherty@intel.com, jerin.jacob@caviumnetworks.com, bruce.richardson@intel.com, ferruh.yigit@intel.com, dev@dpdk.org Message-ID: <20180424080646.2fcff45e@xeon-e3> In-Reply-To: <1524552123-31378-6-git-send-email-arnon@qwilt.com> References: <1524552123-31378-1-git-send-email-arnon@qwilt.com> <1524552123-31378-6-git-send-email-arnon@qwilt.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] [PATCH v6 05/11] eal: replace rte_panic instances in eventdev X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Apr 2018 15:06:49 -0000 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.