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 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 , 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" Message-ID: 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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 > --- Acked-by: Anatoly Burakov -- Thanks, Anatoly