From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <dev-bounces@dpdk.org>
Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124])
	by inbox.dpdk.org (Postfix) with ESMTP id B0AC1A0547;
	Wed, 21 Apr 2021 20:15:01 +0200 (CEST)
Received: from [217.70.189.124] (localhost [127.0.0.1])
	by mails.dpdk.org (Postfix) with ESMTP id 7F2C640687;
	Wed, 21 Apr 2021 20:15:01 +0200 (CEST)
Received: from wout5-smtp.messagingengine.com (wout5-smtp.messagingengine.com
 [64.147.123.21]) by mails.dpdk.org (Postfix) with ESMTP id 59CAB40150
 for <dev@dpdk.org>; Wed, 21 Apr 2021 20:14:59 +0200 (CEST)
Received: from compute2.internal (compute2.nyi.internal [10.202.2.42])
 by mailout.west.internal (Postfix) with ESMTP id EC88117B6;
 Wed, 21 Apr 2021 14:14:57 -0400 (EDT)
Received: from mailfrontend2 ([10.202.2.163])
 by compute2.internal (MEProxy); Wed, 21 Apr 2021 14:14:58 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h=
 from:to:cc:subject:date:message-id:in-reply-to:references
 :mime-version:content-transfer-encoding:content-type; s=fm1; bh=
 dtYzSJM1XHjpak8Q5GR/Y+QNEGrurMLlHKchNy/ewpA=; b=v+G1NOgY1bxbFaRo
 4le+fj38ZLTtQIQ9fbeTgjVqbzY7u7MKJyCK7WIwiOpbBTUq6UztE/GHMaS9vl+p
 EFTIzPDNrbNkplBIMRqcNPDLGLoFcWECard7euAdgCB6MLVNdHqXLhD5v75JXbsT
 UrNDC1cdjhtbfogkbmHbiuH0kDyg9F2frYPuPaPNaqxsJAYTTO0TCMDVYeCBYA1s
 r+I/n7ImSbhk66BArTqKoskMTE8Wg0a8H7+/TZEYBlu8gaAIsSKk1sCnOGnz6Bxd
 UkDNy10dPx47FsXaJXvkBeKu+UnQtGb1/lHjPrEWpRcQInQTqqKDspyEBaGrlFRs
 8xIBtg==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=
 messagingengine.com; h=cc:content-transfer-encoding:content-type
 :date:from:in-reply-to:message-id:mime-version:references
 :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender
 :x-sasl-enc; s=fm2; bh=dtYzSJM1XHjpak8Q5GR/Y+QNEGrurMLlHKchNy/ew
 pA=; b=r3Aw2YnmKzq0CB6mlgXly/Pt8uwyBPHv8uc4OLYF+axlkgQcTLPlam9hF
 Y8OIXXBNx4N7D+6+v0ji73tH2m8adKmDd3CUF0Ib4tpP5tSDsOmAOzuOiD1JC7V9
 v/BD0fTyvS1pbDRPvIKUuY2OOt7dCW+eQH81NLA31eQWRZ453OvP4kikv+IQKZ4S
 OE0l/6M+5BzGaRyH5Uo1S787vWTaZ5A2WXD6eyW8sSCFdasFXLBgO2XQBwxgOChD
 TL1XXP9mqMl7r5A9i50HHejHVAvqTH7MfhYvM42DtN3pqMl02iqadcdPJygkpj9v
 OUywWZLVbKzxOqGRx68ahhze0lmBg==
X-ME-Sender: <xms:oGuAYJDpv0FlZDp4MTMiG_tc4uR3dYKrL-Ffx8YDsAf8DWGiy9j9bA>
 <xme:oGuAYHjuQ-NWwAVf2cQjZN9DFkZaSz9MvFx90RsYAGUSKdnTI7mwkcewwL-QVff3d
 lOGE-1l7m5EdJJyaQ>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrvddtkedguddvgecutefuodetggdotefrod
 ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh
 necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd
 enucfjughrpefhvffufffkjghfggfgtgesthfuredttddtvdenucfhrhhomhepvfhhohhm
 rghsucfoohhnjhgrlhhonhcuoehthhhomhgrshesmhhonhhjrghlohhnrdhnvghtqeenuc
 ggtffrrghtthgvrhhnpeejkeegteffieetkeehueeggefhteekueektdeffeekffdvvddu
 uefhgfffiefgveenucffohhmrghinhepfhhrvggvsghsugdrohhrghenucfkphepjeejrd
 dufeegrddvtdefrddukeegnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehm
 rghilhhfrhhomhepthhhohhmrghssehmohhnjhgrlhhonhdrnhgvth
X-ME-Proxy: <xmx:oGuAYEmxLKr_gTMYcEc74kcnDJW9HFpNGJ0C2Fq1soVRwb1fP7Wz6g>
 <xmx:oGuAYDx-fp4rbFfAjIAj1x34aLaN5ykBTljCo5nLNul7dBVtrP3Gig>
 <xmx:oGuAYORr2cRGnS9hBUqclxdbTWsOeYdTyMN9Z0bZ8Ck900gXZ29iaw>
 <xmx:oWuAYMewZhKrX21wbw5a0o117HE-k2luVSZO-YHcOpHO9ddH2_cDpA>
Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184])
 by mail.messagingengine.com (Postfix) with ESMTPA id 311361080066;
 Wed, 21 Apr 2021 14:14:56 -0400 (EDT)
From: Thomas Monjalon <thomas@monjalon.net>
To: dev@dpdk.org
Cc: Ciara Power <ciara.power@intel.com>,
 Bruce Richardson <bruce.richardson@intel.com>,
 "Min Hu (Connor)" <humin29@huawei.com>,
 Chengwen Feng <fengchengwen@huawei.com>, dmitry.kozliuk@gmail.com
Date: Wed, 21 Apr 2021 20:14:55 +0200
Message-ID: <2789341.IQfp6hoY7a@thomas>
In-Reply-To: <20210421181157.1634301-1-thomas@monjalon.net>
References: <20210421181157.1634301-1-thomas@monjalon.net>
MIME-Version: 1.0
Content-Transfer-Encoding: 7Bit
Content-Type: text/plain; charset="us-ascii"
Subject: Re: [dpdk-dev] [PATCH] telemetry: fix build on FreeBSD < 12.2
X-BeenThere: dev@dpdk.org
X-Mailman-Version: 2.1.29
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>

21/04/2021 20:11, Thomas Monjalon:
> The function pthread_setname_np() was originally not available on
> FreeBSD. It has been added in FreeBSD 12.2:
> https://svnweb.freebsd.org/base?view=revision&revision=362264
> 
> The EAL implementation of rte_thread_setname() is duplicated
> in the telemetry library, which does not depend on EAL,
> so the compilation is safe in all systems.
> 
> Fixes: 5da7736f8c53 ("telemetry: set socket listener thread name")
> 
> Signed-off-by: Thomas Monjalon <thomas@monjalon.net>

Applied quickly.