From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from na01-bn1-obe.outbound.protection.outlook.com (mail-bn1on0096.outbound.protection.outlook.com [157.56.110.96]) by dpdk.org (Postfix) with ESMTP id EEEFC5955 for ; Mon, 27 Jun 2016 18:16:47 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=CAVIUMNETWORKS.onmicrosoft.com; s=selector1-cavium-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=d3XVd5OERnrrVMXe0QIsYWA+O7ggCLDdjIufyeakY5w=; b=NIltleR++n0LkoSHUWNNLWBnxVUYssNHF2mxmenMlo8FdcC5yPD7/QA1JTM/T0lx2GJfFY7x7sZ1FQvFUeZJvzoH0SFed3FFAouCT9I0YhfgwJoXRwPyEzI6qEHsp13pT/Yxs2/OrmiUWt/dHCp2IN6031pBgeIbJ8eIAPjyrE0= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Jerin.Jacob@cavium.com; Received: from localhost.localdomain.com (111.93.218.67) by BN3PR0701MB1720.namprd07.prod.outlook.com (10.163.39.19) with Microsoft SMTP Server (TLS) id 15.1.528.16; Mon, 27 Jun 2016 16:16:43 +0000 From: Jerin Jacob To: CC: , , , Jerin Jacob Date: Mon, 27 Jun 2016 21:46:05 +0530 Message-ID: <1467044166-31912-1-git-send-email-jerin.jacob@caviumnetworks.com> X-Mailer: git-send-email 2.5.5 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [111.93.218.67] X-ClientProxiedBy: PN1PR01CA0009.INDPRD01.PROD.OUTLOOK.COM (10.164.137.16) To BN3PR0701MB1720.namprd07.prod.outlook.com (10.163.39.19) X-MS-Office365-Filtering-Correlation-Id: 899ea23b-4b6e-4bc4-37f6-08d39ea66fa6 X-Microsoft-Exchange-Diagnostics: 1; BN3PR0701MB1720; 2:Uyg4cnThDMCGQbQ6De3PYxVTEQdiREuAEpEo1SYnNHPQsDFPDLEVjcXyqbs+nZTLonN8Ql0qN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M3CsUnyxpJCXfTc5fNbz8khxFwI4xDntS76xVr9V408br X-Microsoft-Exchange-Diagnostics: 1; BN3PR0701MB1720; 31:9d+s3wY+rgYhpaQjNlcUlBeAREuHLyesKi8jNaBERALbUL9gEnm0TMur7Q5ohqYUADfBxs+y6+TdCMe/4LGdLHCIfifdnaMNMlJBSOq2rx4e9bodnIHEsj7d2NvsJwXZDujj/zRUJAQ0RNn9PmbIGEnWyjMc2Kn2UIazvwr8+emG/jigYJmpWCqsUXAgkuUjCvZniLuJubvcHVfuDMmjZg==; 20:xqTfDA1p68ONiu4HXSuf35kMqeE1Pgt79enujL7T2d6eEuISdvvFa5XCgLFden524jZpj8GeJGvech14i/ygWJH0RQShAqB1l0pnbqHhyqDxWH2oDR36JTjxjzH+uTwPWvOpQruTeTMmvVQaNwq7+vGUY9cilvEz1b61lAptdnVgqUwO1wypahRZe/qB3Ho+4neysr5V1KZVVEVehJGuKChAsqUrypinPx24XRIixaYSC5wQDfgYWSnJW3+0ak6NXwMjmL4gfoK3M+5/zSb/9ICrp5f9aCHosxyB9fJPCJg8jjclZ/l9lYUkXXJlrGMf1dQL0EkC1Yt+G7yqoJnh6ogjbEtMfQyfdO4dvYfm4MZsOAYYwaUmkVdHJ+yaM/kF/FunewLylPBblCTcOWudbCCXluUQBO/sHogwks7iMGdzHvArVccrwf4DIyVT+QuJEn1R8b4g0eHWuXEKYi+HvM5uw0NFdJhugVV7tZ/xEaTeGpYGnEEJf9Nq3+pO8L1nOCR0yYTgZjTELFcNdt71zCLkjndfqTlXd9MnCuuXx9UnfFLN3fRMfnF1UDIA77bdzo9hOUeT2F/aOtcDZQ0GCO+u++QbBj9tRj6KMR1AEmo= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(228905959029699); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(2401047)(8121501046)(5005006)(3002001)(10201501046); SRVR:BN3PR0701MB1720; BCL:0; PCL:0; RULEID:; SRVR:BN3PR0701MB1720; X-Microsoft-Exchange-Diagnostics: 1; BN3PR0701MB1720; 4:ojjtvoK+HQWd60RnhGCkzWvU1tthqaIog51/JeSc0UqMc4Uvz7no5W6rHsFGaBtI4giQJXUy1l5qZTmw2Ml3wo4H1pV/oH6+yYnjaw1Q+s+H0AQiDdd7Rp04Zr+yReVUqIT+437rW7zHIv+OTGv23Ou3VauvleIR/vzdK+E7JnC9eZEuS+bOba6sa6w7GmwLnkcVhlAJnb8e17c2iCn8LsK9gytmlwK7ZWxI3H+IwmmnsJBBXEdT+r+lUbMBFdMPXy7dqMFz+7lMDpvwrzlrpQTXE97rUbaHpu/m5wdnEKMVOldco47KaTTmWL9FwD6GzrITSl/dltrS9smP1aH73m/VcVFBgi9mf9TOPqfOS7YV3syVkX5gIdJ4N8GQk0gdG+MoFV6Rvl6cicTAeowbF8flLFZ6+EtqzHidkGkQSSY= X-Forefront-PRVS: 09860C2161 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4630300001)(6069001)(6009001)(7916002)(199003)(189002)(36756003)(77096005)(19580395003)(19580405001)(92566002)(69596002)(305945005)(8676002)(229853001)(68736007)(7736002)(2351001)(81156014)(189998001)(81166006)(6116002)(47776003)(2906002)(4326007)(66066001)(7846002)(33646002)(53416004)(230783001)(105586002)(5009440100003)(97736004)(4001430100002)(50226002)(50466002)(50986999)(42186005)(106356001)(101416001)(5003940100001)(110136002)(107886002)(48376002)(3846002)(586003)(7099028); DIR:OUT; SFP:1101; SCL:1; SRVR:BN3PR0701MB1720; H:localhost.localdomain.com; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX:1; LANG:en; Received-SPF: None (protection.outlook.com: cavium.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BN3PR0701MB1720; 23:5l1MXi+B3LglhdN/Voy2pn3QbL2g7OuexaY68bP?= =?us-ascii?Q?cJUKQ2N971oApeiFVOU9mbvZ4MYTj7jf40aN5aCTXXqHyf0I+Hj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Li0WDhSuAbsC74TSJsDJdXwSt0T9Bu8MEYwv6TaILGM6KN1QYdxIDNTjyKc+7Qv5NoTZhz7nwmhlPW8Cd8oxLOHzqm SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Jun 2016 16:16:43.6943 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN3PR0701MB1720 Subject: [dpdk-dev] [PATCH 1/2] net/thunderx: select -fno-prefetch-loop-arrays only for gcc 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: Mon, 27 Jun 2016 16:16:48 -0000 'fno-prefetch-loop-arrays' optimization flag is not supported with clang Fixes: dcc49041 (net/thunderx: add single and multi-segment Tx functions") Signed-off-by: Jerin Jacob Reported-by: Ferruh Yigit --- drivers/net/thunderx/Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/drivers/net/thunderx/Makefile b/drivers/net/thunderx/Makefile index 9079b5b..078237e 100644 --- a/drivers/net/thunderx/Makefile +++ b/drivers/net/thunderx/Makefile @@ -56,7 +56,10 @@ 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 +ifeq ($(CONFIG_RTE_TOOLCHAIN_GCC),y) +CFLAGS_nicvf_rxtx.o += -fno-prefetch-loop-arrays +endif +CFLAGS_nicvf_rxtx.o += -Ofast # this lib depends upon: DEPDIRS-$(CONFIG_RTE_LIBRTE_THUNDERX_NICVF_PMD) += lib/librte_eal lib/librte_ether -- 2.5.5