From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id 0C81E95B5 for ; Tue, 21 Jun 2016 15:34:28 +0200 (CEST) Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga103.fm.intel.com with ESMTP; 21 Jun 2016 06:34:11 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.26,504,1459839600"; d="scan'208";a="980390422" Received: from fyigit-mobl1.ger.corp.intel.com (HELO [10.237.220.90]) ([10.237.220.90]) by orsmga001.jf.intel.com with ESMTP; 21 Jun 2016 06:34:10 -0700 To: Jerin Jacob , dev@dpdk.org References: <1465931200-23912-1-git-send-email-jerin.jacob@caviumnetworks.com> <1466170194-28393-1-git-send-email-jerin.jacob@caviumnetworks.com> <1466170194-28393-20-git-send-email-jerin.jacob@caviumnetworks.com> Cc: thomas.monjalon@6wind.com, bruce.richardson@intel.com, Maciej Czekaj , Kamil Rytarowski , Zyta Szpak , Slawomir Rosek , Radoslaw Biernacki From: Ferruh Yigit Message-ID: <57694250.6010008@intel.com> Date: Tue, 21 Jun 2016 14:34:08 +0100 User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.7.2 MIME-Version: 1.0 In-Reply-To: <1466170194-28393-20-git-send-email-jerin.jacob@caviumnetworks.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] [PATCH v6 19/27] net/thunderx: add single and multi segment Tx functions X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Jun 2016 13:34:29 -0000 Hi Jerin, On 6/17/2016 2:29 PM, Jerin Jacob wrote: > Signed-off-by: Jerin Jacob > Signed-off-by: Maciej Czekaj > Signed-off-by: Kamil Rytarowski > Signed-off-by: Zyta Szpak > Signed-off-by: Slawomir Rosek > Signed-off-by: Radoslaw Biernacki > --- ... > diff --git a/drivers/net/thunderx/Makefile b/drivers/net/thunderx/Makefile > index eb9f100..9079b5b 100644 > --- a/drivers/net/thunderx/Makefile > +++ b/drivers/net/thunderx/Makefile > @@ -51,10 +51,12 @@ VPATH += $(SRCDIR)/base > # > # all source are stored in SRCS-y > # > +SRCS-$(CONFIG_RTE_LIBRTE_THUNDERX_NICVF_PMD) += nicvf_rxtx.c > SRCS-$(CONFIG_RTE_LIBRTE_THUNDERX_NICVF_PMD) += nicvf_hw.c > SRCS-$(CONFIG_RTE_LIBRTE_THUNDERX_NICVF_PMD) += nicvf_mbox.c > SRCS-$(CONFIG_RTE_LIBRTE_THUNDERX_NICVF_PMD) += nicvf_ethdev.c > > +CFLAGS_nicvf_rxtx.o += -fno-prefetch-loop-arrays -Ofast With clang, getting following compile error, fyi: == Build drivers/net/thunderx CC nicvf_rxtx.o clang: error: optimization flag '-fno-prefetch-loop-arrays' is not supported /root/development/dpdk-next-net/mk/internal/rte.compile-pre.mk:126: recipe for target 'nicvf_rxtx.o' failed make[4]: *** [nicvf_rxtx.o] Error 1 # clang --version clang version 3.7.0 (tags/RELEASE_370/final)