From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 42645A0547; Wed, 19 May 2021 09:53:22 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 95FDE40041; Wed, 19 May 2021 09:53:21 +0200 (CEST) Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com [66.111.4.28]) by mails.dpdk.org (Postfix) with ESMTP id C7AEC4003F for ; Wed, 19 May 2021 09:53:19 +0200 (CEST) Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailout.nyi.internal (Postfix) with ESMTP id 5313C5C0172; Wed, 19 May 2021 03:53:19 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute2.internal (MEProxy); Wed, 19 May 2021 03:53:19 -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= rArbwBJdLjBmO2iucgeXkNDcb61i+WYDq0OSrhLHcRc=; b=YI5huGckRNzA6K4T W/XL5sPUoYZ+gdMj/BnR2ICWNfBBwJJ0tlzlSBhZnau5uLLZ1r9FL51uL0UmbgVM 50MkhpgIH16G8bN7wDVXxYhg9mYoA5+cxB92B0fPqMA/OS3xjzs/L9LPAHAsiLIh CEgUewUKlW41cWjioM7Ilx27RNCQYVkDbqAVHBNJUGC4jV06BT4Ahix1UJrRIWvf Bem+vGwM7HZXJbjUStcvzdYANG1TzFGwv4S6etx26uAN3tXnvSO+SW6nJf8D4oNP 0UyBfxl+qfO43v8hGyDI6Rl9ibsHFs9bgs/HwE/1k5uSSUqtaW5amCBWDVbiBtTj 198/cw== 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=rArbwBJdLjBmO2iucgeXkNDcb61i+WYDq0OSrhLHc Rc=; b=YQ8YEGHX6PH2i/+95mbjGmyMMXcGNNLtIEBaPCZA2RW8+J6QI4mErQ7MG rKXSgKz7rQTfkO7MybBg61ImkaNsdNZbqisfDUSUtDhTprjYtamedbFhigm1SPCY EJexoyiX5IuyB3us4ALzZkhgU/x+ne5CccQn8cFLEr2ie37cqAlhs9EX0MGKAfa3 LecjYeWSqVp38iNHBBg8smcNx4yWqRrWUdbvZ53bxUVhFDQOVQprzRC8R31PACc0 XXJVvAnlZ6VBX4fWkmgaE91Ane1dYOxky5YvSfKZVic0LkZQCCj9IYMR/UqVP/Ic whR8qzcZw2bdN0NutgJPIc250gIaA== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrvdeikedguddvudcutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpefhvffufffkjghfggfgtgesthfuredttddtvdenucfhrhhomhepvfhhohhm rghsucfoohhnjhgrlhhonhcuoehthhhomhgrshesmhhonhhjrghlohhnrdhnvghtqeenuc ggtffrrghtthgvrhhnpedugefgvdefudfftdefgeelgffhueekgfffhfeujedtteeutdej ueeiiedvffegheenucfkphepjeejrddufeegrddvtdefrddukeegnecuvehluhhsthgvrh fuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepthhhohhmrghssehmohhnjhgr lhhonhdrnhgvth X-ME-Proxy: Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 19 May 2021 03:53:18 -0400 (EDT) From: Thomas Monjalon To: Piotr Kubaj Cc: dev@dpdk.org, David Christensen Date: Wed, 19 May 2021 09:53:16 +0200 Message-ID: <3311287.AeGyiQBo7m@thomas> In-Reply-To: <6435d3f6-c80b-d50e-bc11-70c8044d2b19@linux.vnet.ibm.com> References: <20210517004621.64357-1-pkubaj@FreeBSD.org> <6435d3f6-c80b-d50e-bc11-70c8044d2b19@linux.vnet.ibm.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH] ppc64le: fix build without glibc and using Clang X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 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" 18/05/2021 22:42, David Christensen: > On 5/16/21 5:46 PM, Piotr Kubaj wrote: > > __ppc_get_timebase() is only present when glibc is used. > > > > Signed-off-by: Piotr Kubaj > > --- > > lib/eal/ppc/include/rte_altivec.h | 3 +++ > > lib/eal/ppc/include/rte_cycles.h | 12 ++++++++++++ > > lib/eal/ppc/rte_cycles.c | 16 ++++++++++++++++ > > 3 files changed, 31 insertions(+) > > Reviewed-by: David Christensen This patch does a lot more than what is described. It seems adding support for FreeBSD. For testing OS, please use #ifdef RTE_EXEC_ENV_*