From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 1CB9DA0A02; Thu, 14 Jan 2021 16:52:31 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 5FFB714138F; Thu, 14 Jan 2021 16:52:30 +0100 (CET) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [63.128.21.124]) by mails.dpdk.org (Postfix) with ESMTP id 8B63E14138C for ; Thu, 14 Jan 2021 16:52:29 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1610639548; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=gpwGs/mEWfuaRYyg541Srw4Nw2o3fGVCl8Phd/eI04Y=; b=cHZ4gYg71KwRCEBHeAGUfG+3zl6F2DgVDjjtExhNCdgJwOEtLjy4MNBy19lAc2wH9nAEPG /cS6T/dLgtwke3oafnUK4RLR4vwJiEBTyJOPeIXOnmgHLilMkl7FCNCcrLSojLvK+5N0dT jvXdmlL4wL4s0Os+7iLpxs0XNPOPBdQ= Received: from mail-vk1-f198.google.com (mail-vk1-f198.google.com [209.85.221.198]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-528-LcniTwsUMfOhc6rqo72r7g-1; Thu, 14 Jan 2021 10:52:27 -0500 X-MC-Unique: LcniTwsUMfOhc6rqo72r7g-1 Received: by mail-vk1-f198.google.com with SMTP id u67so2461616vkb.20 for ; Thu, 14 Jan 2021 07:52:27 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=gpwGs/mEWfuaRYyg541Srw4Nw2o3fGVCl8Phd/eI04Y=; b=FyTJy0AJ01ktE75QM0Un9sFrtJwKKDw+paxYmAGobmjRQvA4KO+KVcmIudX1z5Z1/s taanjQuZaSkuZbTWlgl1+7koK8Gra5feYA6V/D7KZYkLRNwoVwwEwGXl9CwKpd+A/HNo nzw8Gwd8mzFmDEDwP1Cb2wtnKVqKle1K0Rq/xbOpkpZGJiZ15LK4m6FfAzqKCepD12Dw yyApam3M6fqgMx8yM8rZG8pRSeAwYoUTWuUqYvFS8bwOrJGYAdKIE4TP7f3V5hFTteQb h3EunWvqtOZ+TFK/3TYHjmxHbmdFsHmfCUKCBIIBGdukt+Lc/mh4Mlcog7SBnX4z2e9o sKFQ== X-Gm-Message-State: AOAM532iBMwHidPgNdGI7WX26vbmxlN6iQ/TD4tBFS5kZPfRmlgquedw XqfGqRNuvb6U3cbLrkX10oaHPOkQXZMEb9Slxjx2Fnw4ys7MMIyf8coT/jBcZm6p+5F4Zj9Cm4W f1JTSySryYsUl73b3JMw= X-Received: by 2002:ab0:44c6:: with SMTP id n64mr6208738uan.53.1610639547030; Thu, 14 Jan 2021 07:52:27 -0800 (PST) X-Google-Smtp-Source: ABdhPJyrzikIgXQYr9ZUaESh3QWTwLy1VRWOii3A5zGOgf8GnTxcl9RidnUtTfwrliLEVtnh9aij7aU1/IWtOKiSN8w= X-Received: by 2002:ab0:44c6:: with SMTP id n64mr6208734uan.53.1610639546879; Thu, 14 Jan 2021 07:52:26 -0800 (PST) MIME-Version: 1.0 References: <20201126142523.25198-1-olivier.matz@6wind.com> <20210113082805.5945-1-olivier.matz@6wind.com> In-Reply-To: <20210113082805.5945-1-olivier.matz@6wind.com> From: David Marchand Date: Thu, 14 Jan 2021 16:52:15 +0100 Message-ID: To: Olivier Matz Cc: dev , Bruce Richardson , Van Haaren Harry , Jerin Jacob , dpdk stable Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=dmarchan@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="UTF-8" Subject: Re: [dpdk-dev] [dpdk-stable] [PATCH v2] eal: fix errno on service cores init failure X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list 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 Wed, Jan 13, 2021 at 9:29 AM Olivier Matz wrote: > > Currently, when rte_service_init() fails at initialization, we > see the following message: > > Cannot init EAL: Exec format error > > This error code does describe the real issue. Instead, use the error > code returned by the function. > > Fixes: e39824500825 ("service: initialize with EAL") > Cc: stable@dpdk.org > > Signed-off-by: Olivier Matz > Acked-by: Harry van Haaren Applied, thanks. -- David Marchand