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 5D9A8A0A02 for ; Thu, 14 Jan 2021 16:52:30 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 34BFF14138B; 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 7B5D614138B 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=1610639549; 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=SjvlyN3NyB2A6kZQa7k0f63ycs2Db/NHxqh3Yks4gf1U8QFrkDPDofAg4P7XHtbHenZeW+ sGVwmuF9NoV3zFfwkqwuWu2AfwI6wY+AL0h7lsQX4AfEsUdsprqRR6oVRz9suHOT35tVJ/ iOoIAc+6jDgLFfncksL2SJ2zrubwI04= Received: from mail-vk1-f200.google.com (mail-vk1-f200.google.com [209.85.221.200]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-528-GENksINlP4acV2g2Pi4TZg-1; Thu, 14 Jan 2021 10:52:27 -0500 X-MC-Unique: GENksINlP4acV2g2Pi4TZg-1 Received: by mail-vk1-f200.google.com with SMTP id h21so2470881vke.22 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=f3Rx+Hh6KpZK4fz6jfHR9yr6zoSqg+c3TOrdYJqXnlBIfKwVhvnGP/YE4q4Ng63UZm JG9/+Y7LWRFD2hk9p8Nk2DqlmsV58ADzyohCezrSbJt95uZ3AKpdAMG9BRRtT1xDpAbq GJVFMunOXu19l+CsBVFfrN84cjeByq1KUEbBxAH2AqSthGjX6OkO4NkSHn4pj9UoUKRC XG6/92akWoqvp5EpwP9vDl3Kip1bSOmMxcvsan9OPXfQYA9ikl8sE3kLsWnHfVHyen6t 6k7t7DAFekCHApMekSurzfTFLItGrDwXAzW6x6j7eOjYkA/wiG7PBuFqWEPfWbFniA0H 3YdQ== X-Gm-Message-State: AOAM531Ui79BX2pyoNPaYlDK4LsQO0Nzom54ehaUdKQhxsgIJJ/imzp9 pI0HpcUu/VqkmS4Ae9ql3XwiZvHbi1Iy37yab7MDcLSP8bs+f+lAdW3P57I2Z4jhIU/zWf9YNkp RShhWKyRbNfUM/t5zTk1rLoo= X-Received: by 2002:ab0:44c6:: with SMTP id n64mr6208740uan.53.1610639547031; 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-stable] [PATCH v2] eal: fix errno on service cores init failure X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org Sender: "stable" 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