From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <dev-bounces@dpdk.org>
Received: from dpdk.org (dpdk.org [92.243.14.124])
	by inbox.dpdk.org (Postfix) with ESMTP id 4A486A00BE;
	Mon, 27 Apr 2020 17:37:52 +0200 (CEST)
Received: from [92.243.14.124] (localhost [127.0.0.1])
	by dpdk.org (Postfix) with ESMTP id EFB7B1D452;
	Mon, 27 Apr 2020 17:37:51 +0200 (CEST)
Received: from mga09.intel.com (mga09.intel.com [134.134.136.24])
 by dpdk.org (Postfix) with ESMTP id D887D1D44E;
 Mon, 27 Apr 2020 17:37:50 +0200 (CEST)
IronPort-SDR: iQ1OamxRTo6hueuK3FbdThWXX7dQGz0JBawS/jpV8YLRNs4P7PgGMHr/jQugYqQW2BA+GrpmzP
 SjBfrhtJQeTQ==
X-Amp-Result: SKIPPED(no attachment in message)
X-Amp-File-Uploaded: False
Received: from fmsmga005.fm.intel.com ([10.253.24.32])
 by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;
 27 Apr 2020 08:37:49 -0700
IronPort-SDR: MtzPcXHUfepoiQHLUNV9M8hTHc/u0zYztjZJsIA8ed/1Xxw3ZPVN2I/kKJ2yTiY6bOhiPKLG/H
 38XzJ4EBX8dw==
X-ExtLoop1: 1
X-IronPort-AV: E=Sophos;i="5.73,324,1583222400"; d="scan'208";a="458417845"
Received: from jlooby-mobl1.ger.corp.intel.com (HELO [10.213.211.90])
 ([10.213.211.90])
 by fmsmga005.fm.intel.com with ESMTP; 27 Apr 2020 08:37:48 -0700
To: Stephen Hemminger <stephen@networkplumber.org>, dev@dpdk.org
Cc: qi.z.zhang@intel.com, stable@dpdk.org
References: <20200104013341.19809-1-stephen@networkplumber.org>
 <20200104013341.19809-7-stephen@networkplumber.org>
From: "Burakov, Anatoly" <anatoly.burakov@intel.com>
Message-ID: <c6188b9c-7bb5-fb29-f429-3597223e4b5d@intel.com>
Date: Mon, 27 Apr 2020 16:37:47 +0100
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101
 Thunderbird/68.7.0
MIME-Version: 1.0
In-Reply-To: <20200104013341.19809-7-stephen@networkplumber.org>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Language: en-US
Content-Transfer-Encoding: 7bit
Subject: Re: [dpdk-dev] [PATCH 06/14] eal: mp: end the multiprocess thread
 during cleanup
X-BeenThere: dev@dpdk.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: DPDK patches and discussions <dev.dpdk.org>
List-Unsubscribe: <https://mails.dpdk.org/options/dev>,
 <mailto:dev-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://mails.dpdk.org/archives/dev/>
List-Post: <mailto:dev@dpdk.org>
List-Help: <mailto:dev-request@dpdk.org?subject=help>
List-Subscribe: <https://mails.dpdk.org/listinfo/dev>,
 <mailto:dev-request@dpdk.org?subject=subscribe>
Errors-To: dev-bounces@dpdk.org
Sender: "dev" <dev-bounces@dpdk.org>

On 04-Jan-20 1:33 AM, Stephen Hemminger wrote:
> When rte_eal_cleanup is called, all control threads should exit.
> For the mp thread, this best handled by closing the mp_socket
> and letting the thread see that.
> 
> This also fixes potential problems where the mp_socket gets
> another hard error, and the thread runs away repeating itself
> by reading the same error.
> 
> Fixes: 85d6815fa6d0 ("eal: close multi-process socket during cleanup")
> Cc: qi.z.zhang@intel.com
> Cc: stable@dpdk.org
> Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
> ---

Acked-by: Anatoly Burakov <anatoly.burakov@intel.com>

-- 
Thanks,
Anatoly