From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id BAE87A046B for ; Wed, 26 Jun 2019 14:04:01 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 751F3DED; Wed, 26 Jun 2019 14:04:01 +0200 (CEST) Received: from mail-vk1-f196.google.com (mail-vk1-f196.google.com [209.85.221.196]) by dpdk.org (Postfix) with ESMTP id BBE19DED for ; Wed, 26 Jun 2019 14:03:59 +0200 (CEST) Received: by mail-vk1-f196.google.com with SMTP id g124so371899vkd.1 for ; Wed, 26 Jun 2019 05:03:59 -0700 (PDT) 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=57tRD/mEe5PLup4dwX5nvZAktmPfAryMVSanMfS7z44=; b=jvWkqjnAUQH01pwp67ZZmX8e9sfLITa3gkoykfQn+gEJNlI+enmmTuXHxs8p7sixTE qAMcZrCNPOhpHXytDDjKmO/T1NYx1vH7FCtUg+thK7qv7SAXGAkPFwUx3nZaPtaObmR0 apvVQNRFpzNMBLisUREQk7hRJ8gOHIApTfhgIfNUiyBR5a7xnEbeyvI/Ds1gLhLblqy3 HCmvf+XAGE+tR8iuYZQ9ablMJRtLfsVcjgAz/D9Utg/vS+bUOsave5BC5zMWvnHpxvwY 8xFvYHs3v63QzCFl7BCos1ejKe0beCuKdE4eIOCzpiRGCTOGr+KC3nmOk4okGxxtAfeW cZIg== X-Gm-Message-State: APjAAAW/THZhQ4vBMoTJIDUCLgDCg4hcLP3an3WO6gkyYFedSe/+WbEE qNQk9moJCrlk1YDd2qP5YN+xWKSo433NP+9WU78+nA== X-Google-Smtp-Source: APXvYqzyQ/C5vheYMfpea7VnBNtNg9YrrhEccRu9bXLQTzinWzFYIIlRbsMMpIRqM+TH/KaFqXT0MrWj0hGMiIdFP3I= X-Received: by 2002:a1f:144:: with SMTP id 65mr995891vkb.53.1561550638540; Wed, 26 Jun 2019 05:03:58 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: David Marchand Date: Wed, 26 Jun 2019 14:03:47 +0200 Message-ID: To: Anatoly Burakov Cc: dev , Bruce Richardson , dpdk stable Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: Re: [dpdk-stable] [PATCH 1/2] eal/freebsd: fix missing write to internal config X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 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 Tue, Jun 25, 2019 at 5:51 PM Anatoly Burakov wrote: > When init is complete, EAL is supposed to update internal config > to indicate that initialization is complete. Add missing write. > > Fixes: a99c96e96ad3 ("eal: add internal flag of init completed") > Cc: stable@dpdk.org > > Signed-off-by: Anatoly Burakov > --- > lib/librte_eal/freebsd/eal/eal.c | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/lib/librte_eal/freebsd/eal/eal.c > b/lib/librte_eal/freebsd/eal/eal.c > index 4eaa53195..8c399c799 100644 > --- a/lib/librte_eal/freebsd/eal/eal.c > +++ b/lib/librte_eal/freebsd/eal/eal.c > @@ -566,6 +566,8 @@ rte_eal_mcfg_complete(void) > /* ALL shared mem_config related INIT DONE */ > if (rte_config.process_type == RTE_PROC_PRIMARY) > rte_config.mem_config->magic = RTE_MAGIC; > + > + internal_config.init_complete = 1; > } > > /* return non-zero if hugepages are enabled. */ > -- > 2.17.1 > Reviewed-by: David Marchand -- David Marchand