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 7180AA0093; Mon, 18 May 2020 16:52:27 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 526FC1D174; Mon, 18 May 2020 16:52:27 +0200 (CEST) Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id 2F0031D146 for ; Mon, 18 May 2020 16:52:25 +0200 (CEST) IronPort-SDR: GoCsGJ0peR3n6HS5ecdsy4KJGpEVe/gsltTRSrBBfLFPKVeUUl42c6d+hxAHJjXAGnVUWjyvDy 7jPQ0IxPgcRQ== 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; 18 May 2020 07:52:24 -0700 IronPort-SDR: b7Zu5mL1FpAaG7so+w5WCjmHkJ1o/F0HHd6oqAyUXEaKpkvSuqjq15c/PyNf5dhN9dtGkp+5qg wqQQQlu//8ug== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.73,407,1583222400"; d="scan'208";a="465602486" Received: from klaatz-mobl1.ger.corp.intel.com (HELO [10.252.4.195]) ([10.252.4.195]) by fmsmga005.fm.intel.com with ESMTP; 18 May 2020 07:52:23 -0700 To: Ciara Power , bruce.richardson@intel.com Cc: dev@dpdk.org References: <20200512152902.70211-1-ciara.power@intel.com> <20200512152902.70211-2-ciara.power@intel.com> From: "Laatz, Kevin" Message-ID: Date: Mon, 18 May 2020 15:52:22 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.8.0 MIME-Version: 1.0 In-Reply-To: <20200512152902.70211-2-ciara.power@intel.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US Subject: Re: [dpdk-dev] [PATCH 1/5] telemetry: keep telemetry threads separate from data plane 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 12/05/2020 16:28, Ciara Power wrote: > The threads for listening on the telemetry sockets are control threads > and should be separated from those on the data plane. Since telemetry > cannot use the rte_ctrl_thread_create() API, as it does not depend on > EAL, we pass the ctrl thread cpu_set to telemetry init and use it > directly to ensure that telemetry cannot interfere with the data plane > threads. > > Signed-off-by: Ciara Power > --- > lib/librte_eal/freebsd/eal.c | 3 ++- > lib/librte_eal/linux/eal.c | 3 ++- > lib/librte_telemetry/rte_telemetry.h | 3 ++- > lib/librte_telemetry/telemetry.c | 13 ++++++++----- > 4 files changed, 14 insertions(+), 8 deletions(-) > Acked-by: Kevin Laatz