From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jerin Jacob Subject: Re: [PATCH] config: cleanup existing RTE_CACHE_LINE_SIZE selection scheme Date: Mon, 8 Feb 2016 14:37:38 +0530 Message-ID: <20160208090737.GC10260@localhost.localdomain> References: <1449498170-19872-1-git-send-email-jerin.jacob@caviumnetworks.com> <1750446.FDPWrLgo55@xps13> <20151208093333.GA3650@localhost.localdomain> <20160129042455.GA24789@localhost.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Cc: dev@dpdk.org, viktorin@rehivetech.com To: Thomas Monjalon Return-path: Received: from na01-by2-obe.outbound.protection.outlook.com (mail-by2on0055.outbound.protection.outlook.com [207.46.100.55]) by dpdk.org (Postfix) with ESMTP id B9CC0559C for ; Mon, 8 Feb 2016 10:08:01 +0100 (CET) Content-Disposition: inline In-Reply-To: <20160129042455.GA24789@localhost.localdomain> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On Fri, Jan 29, 2016 at 09:54:55AM +0530, Jerin Jacob wrote: > On Tue, Dec 08, 2015 at 03:03:34PM +0530, Jerin Jacob wrote: > > On Mon, Dec 07, 2015 at 03:45:10PM +0100, Thomas Monjalon wrote: > > > 2015-12-07 19:52, Jerin Jacob: > > > > by default, all the targets will be configured with the 64-byte cache line > > > > size, targets which have different cache line size can be overridden > > > > through target specific config file. > > > > > > > > Selected ThunderX and power8 as CONFIG_RTE_CACHE_LINE_SIZE=128 targets > > > > based on existing configuration. > > > > > > > > Signed-off-by: Jerin Jacob > > > > > > It looks good. > > > We are moving from a constant defined on CC command line in most cases > > > to a constant included in rte_config.h only. > > > Have you checked that the generated libraries are identical? > > > > Yes, Tested with a 64byte(x86_64-native-linuxapp-gcc) and a 128byte > > (arm64-thunderx-linuxapp-gcc) target. > > md5sum build/app/test comes same with or without patch. > > ping Thomas, Can you review this, This is a long pending item. This rework based on your request. Jerin > > > > > > It would be good to have a check for POWER8. Chao? > > > Thanks