From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: [PATCH] examples/ip_pipeline: fix SSE4.2 optimization branch Date: Wed, 30 Mar 2016 20:06:41 +0200 Message-ID: <1459361201-20876-1-git-send-email-thomas.monjalon@6wind.com> References: <3EB4FA525960D640B5BDFFD6A3D891264797477B@IRSMSX108.ger.corp.intel.com> Cc: dev@dpdk.org To: cristian.dumitrescu@intel.com Return-path: Received: from mail-wm0-f48.google.com (mail-wm0-f48.google.com [74.125.82.48]) by dpdk.org (Postfix) with ESMTP id 170842C59 for ; Wed, 30 Mar 2016 20:08:56 +0200 (CEST) Received: by mail-wm0-f48.google.com with SMTP id 127so107073565wmu.1 for ; Wed, 30 Mar 2016 11:08:56 -0700 (PDT) In-Reply-To: <3EB4FA525960D640B5BDFFD6A3D891264797477B@IRSMSX108.ger.corp.intel.com> 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" The branch was disabled because of a typo in the SSE4.2 flag. Change also the x86_64 flag to use a DPDK one. Fixes: 28377375c6c0 ("examples/ip_pipeline: fix build for x86_64 without SSE4.2") Signed-off-by: Thomas Monjalon Acked-by: Cristian Dumitrescu --- examples/ip_pipeline/pipeline/hash_func.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/ip_pipeline/pipeline/hash_func.h b/examples/ip_pipeline/pipeline/hash_func.h index 1953ad4..9db7173 100644 --- a/examples/ip_pipeline/pipeline/hash_func.h +++ b/examples/ip_pipeline/pipeline/hash_func.h @@ -152,7 +152,7 @@ hash_xor_key64(void *key, __rte_unused uint32_t key_size, uint64_t seed) return (xor0 >> 32) ^ xor0; } -#if defined(__x86_64__) && defined(RTE_CPUFLAG_SSE4_2) +#if defined(RTE_ARCH_X86_64) && defined(RTE_MACHINE_CPUFLAG_SSE4_2) #include -- 2.7.0