From mboxrd@z Thu Jan 1 00:00:00 1970 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) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=TNPt5ey5DWOD5xX/WTmd9YWxQaylXMQg7TRqoE0lOlw=; b=W+k+Leg8bALdlI8ynbdZ9GgEhd6B4OrIcPhRnORWpaKsA9b97ORqGlOifa05AF7Yem 4OEPQyvR0fK4l+ogreh5qGC4gJho9Bu5Vq2B9BM0xij0X8uWe9dKPLxUcGVEF+V+QwFV ijBICLW5PRTT27pmtBaG26U1KGlIl4E140TlbgLYBw2EjKEh53YNZMS3XooxrGsddwmu 0fQ+F47uf4cQJykV8C+9N/HyjqN9P+PCHFR08Yd5Kyhdo6l3Af0SwkIiPAKy8xDbGL2N XjAvirzeTLzvroZP7YZ77Ua+eymDZyMI8trEl0e22DcRu7psWXDiUjzQ4gaguW7f9AdP kF0A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=TNPt5ey5DWOD5xX/WTmd9YWxQaylXMQg7TRqoE0lOlw=; b=XcaL+u+92Cg3RGHXwg/Xl0s9pQXl6QfdYLNkkNHlAtos7XCSBLbcTocUZRfe66zcCy FpTejdypytJobmislFuIibca0431V3/YigqTbv8rXLYNvE18FmqqvNBce9ZJafA0oLYE oyksKOYuaqsbRVnT/yBruVXb2vUEJcoJHHiRORXUdwIMawmdpYaryoIcwTsILu+XSs4e SUscXFL0tjcUlkYMjQD/HheROJrx7aRvjvaaEEaC0aokF++I08vXLoSPht5TQGzkiYKY J9x5R1HEliPl6Lh+tHOlCC/l5R/+jRn71LoeY6NQNXTv8mG83jOxFbTLkcvDNed5WNAS 9Cyw== X-Gm-Message-State: AD7BkJIb7Q0bMKAxU9YLqzOnaX6nKeXbj1pIw5do/vMJVk9pGemNSkuFVulM3tjqaeDo4NCu X-Received: by 10.28.172.132 with SMTP id v126mr12025355wme.28.1459361335985; Wed, 30 Mar 2016 11:08:55 -0700 (PDT) Received: from XPS13.localdomain (109.202.154.77.rev.sfr.net. [77.154.202.109]) by smtp.gmail.com with ESMTPSA id p189sm21025602wmb.7.2016.03.30.11.08.54 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 30 Mar 2016 11:08:55 -0700 (PDT) From: Thomas Monjalon To: cristian.dumitrescu@intel.com Cc: dev@dpdk.org Date: Wed, 30 Mar 2016 20:06:41 +0200 Message-Id: <1459361201-20876-1-git-send-email-thomas.monjalon@6wind.com> X-Mailer: git-send-email 2.7.0 In-Reply-To: <3EB4FA525960D640B5BDFFD6A3D891264797477B@IRSMSX108.ger.corp.intel.com> References: <3EB4FA525960D640B5BDFFD6A3D891264797477B@IRSMSX108.ger.corp.intel.com> Subject: [dpdk-dev] [PATCH] examples/ip_pipeline: fix SSE4.2 optimization branch 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: Wed, 30 Mar 2016 18:08:56 -0000 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