From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-15.7 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 003D3C433B4 for ; Wed, 19 May 2021 09:59:39 +0000 (UTC) Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by mail.kernel.org (Postfix) with ESMTP id 763D9610A1 for ; Wed, 19 May 2021 09:59:39 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 763D9610A1 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=monjalon.net Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=dev-bounces@dpdk.org Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id C976B40143; Wed, 19 May 2021 11:59:38 +0200 (CEST) Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com [66.111.4.28]) by mails.dpdk.org (Postfix) with ESMTP id 939994003F for ; Wed, 19 May 2021 11:59:37 +0200 (CEST) Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 2AB175C0190; Wed, 19 May 2021 05:59:37 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute6.internal (MEProxy); Wed, 19 May 2021 05:59:37 -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= ERfv9QUP+eKaqJUdmfIsIl8QCiYwg70mJSfCE6Lr3nY=; b=BLM6v5pjg/Tr8QxN cb9dEPwbJ4smNtLwGMrM18tzvBiN7oghDm4pczBwjYXvDTwLXV/q05WxqElHtGfy DBCN1ZyQYUN/oSREFruupegBjrs7e/wDc62o0AUJ6tFSf8KJ+qASItSMmWsZYhNF MftUo2H9njEiUOxaMNABK0AkRaSvLL4/gnDjY4UT59ULATmJZwY7Bws4oLXZch9z HhUm658ACspURTG96e27Yb4VxNbcPd1T7g2NsLrBWcn7Tqx6qEGd6XaO+eQKMbES xUT5o8WBYqxwIaCzBwoAJhw3zQV9Cu7kOwNuL/GASK4S5SxuhU8QrpOcOuUN63hN xKqpEA== 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=ERfv9QUP+eKaqJUdmfIsIl8QCiYwg70mJSfCE6Lr3 nY=; b=jFz7lB7CerKMWfyUN9ysDf8zEx+xj0RfRGpn6Tn5ZFpoCGBVk/2mr7KsT 7XqdvD2KDi5qoXtSvci8zjtVsSb+HwEq8KZjYMtyxkx+XzU9ymmT2wIYNdu5ID6j VniYmobICxTMMsGaM5I3wmhTF97NUL/4VCde1Gf0yLBZZuLucm4uepTia2BYh+b3 EugXf6Wc5lX1l0b+iX3QAXs8RSFOP1iUyQh14vXyachtYUNipplfOj84a3XMf9ZT +lyaBgr4KQFhPm7p38CUFURu0GwA3gBeEi7ld6JDe4MHvtEe/byi2tMbF3CGB72Z VVMbaPq2Zfc59KFo5r+xdAJlyTvMA== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrvdeiledgvddvucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvufffkfgjfhgggfgtsehtufertddttddvnecuhfhrohhmpefvhhhomhgr shcuofhonhhjrghlohhnuceothhhohhmrghssehmohhnjhgrlhhonhdrnhgvtheqnecugg ftrfgrthhtvghrnhepffdvffejueetleefieeludduuefgteejleevfeekjeefieegheet ffdvkeefgedunecuffhomhgrihhnpeguphgukhdrohhrghenucfkphepjeejrddufeegrd dvtdefrddukeegnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhf rhhomhepthhhohhmrghssehmohhnjhgrlhhonhdrnhgvth 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 05:59:36 -0400 (EDT) From: Thomas Monjalon To: Piotr Kubaj Cc: dev@dpdk.org, David Christensen Date: Wed, 19 May 2021 11:59:35 +0200 Message-ID: <3175316.hIkBcZur5t@thomas> In-Reply-To: References: <20210517004621.64357-1-pkubaj@FreeBSD.org> <3311287.AeGyiQBo7m@thomas> 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" 19/05/2021 11:57, Piotr Kubaj: > Well, isn't FreeBSD already supported? > > Even https://www.dpdk.org/ mentions supporting FreeBSD. Yes it is supposed to be supported. But why are you adding all this code for PPC? It doesn't seem to be all related to clang only. PS: please do not top-post. > On 21-05-19 09:53:16, Thomas Monjalon wrote: > > 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_*