From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH v2 2/5] eal/ppc64: define architecture specific rdtsc hz Date: Fri, 13 Oct 2017 00:20:28 +0200 Message-ID: <4924362.BUPg9l2v4A@xps> References: <60996b50e628207157f1b7b6dab704b8224f3cae.1506058385.git.gowrishankar.m@linux.vnet.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org, Chao Zhu , Bruce Richardson , Konstantin Ananyev , viktorin@rehivetech.com, jianbo.liu@linaro.org To: Gowrishankar , Jerin Jacob Return-path: Received: from out2-smtp.messagingengine.com (out2-smtp.messagingengine.com [66.111.4.26]) by dpdk.org (Postfix) with ESMTP id CACAF1B351 for ; Fri, 13 Oct 2017 00:20:30 +0200 (CEST) In-Reply-To: <60996b50e628207157f1b7b6dab704b8224f3cae.1506058385.git.gowrishankar.m@linux.vnet.ibm.com> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 22/09/2017 10:25, Gowrishankar: > From: Jerin Jacob > > In ppc_64, rte_rdtsc() returns timebase register value which increments > at independent timebase frequency and hence not related to lcore cpu > frequency to derive TSC hz. Hence, we stick with master lcore frequency. > > CC: Chao Zhu > Signed-off-by: Jerin Jacob > Signed-off-by: Gowrishankar Muthukrishnan [...] > --- a/lib/librte_eal/common/include/arch/ppc_64/rte_cycles.h > +++ b/lib/librte_eal/common/include/arch/ppc_64/rte_cycles.h > @@ -38,9 +38,13 @@ > #endif > > #include "generic/rte_cycles.h" > +#include "../../lib/librte_eal/common/eal_filesystem.h" rte_cycles.h is an installed header. eal_filesystem.h is not exported. It cannot work.