From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f54.google.com (mail-wm0-f54.google.com [74.125.82.54]) by dpdk.org (Postfix) with ESMTP id 6AADA9A92 for ; Wed, 3 Feb 2016 19:58:04 +0100 (CET) Received: by mail-wm0-f54.google.com with SMTP id p63so179527155wmp.1 for ; Wed, 03 Feb 2016 10:58:04 -0800 (PST) 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=TXF8WkW/XhkfTleF8AGl8hOew+olGIBp0vD/s4JLYpI=; b=zPD2Z4Q2N1tTXqVt4gtSWnt9jKttfi0hyOpz5qaVtFLoR8EACgIYxyxwsXXdVT96Sx XsQD74yUjMF9KCc887qbWxUQ+R1SbTUM9uUcWU4REdC8/XrrqDkriBsWs6AWFP/FW2NR 2+pD7MbYp/7SSQVu8SPe/yVHd9IkflMEcGBT4rYe0sX6PzVvhkISudR2JsZry3UVW2QQ MMM67Dg0A9zD/0zBT9KBj6Ob2alYADqEjAsxAjSiaoP6DXE/q99x0LNVR3cQ9IT7TRO4 0pEmWy1jsgGN8r0CvacsYbul6Vwhf+xZP/Mny+9U1j6SIHEr9tkM7nSJ0No5wETPm+O0 tgSg== 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=TXF8WkW/XhkfTleF8AGl8hOew+olGIBp0vD/s4JLYpI=; b=UP/UDOjX9OHlNdLEvZ2mB9aU1ZdU365eMta2atdBuCCVcdMFTxspQRs01sPwbAbrZX QJq77vefuV4DQ8xPcIuGOQmySx/Qw5sD7YCGOc3t2Awld9d8QOAnaafZYGGSZ5kz2lQ0 4r5T+M3DjVt5aYFrJVtmVJ+3qeDVvmN3Z6mxr7Bm350wps6ZnlTawidloZC9mD89Ig8i uBJY9SQ1NY8AORRpu9OlMkmhYhCbqvbmiNylRAuEDUqTslJFMipQoyYejua9aRV3iHlz bmpjCvA2W0Fb7BlkV6MNZLBng4Y8A4F7DngADaTGR2K/+zBOVR/7sUs0/mhJeRolBtCA Vbvg== X-Gm-Message-State: AG10YOSqkivhzuQSpdM2SYSjYzooNYsdUFVGME9XlonV0r14cFcIm8i3igzvp624t4PWRkCZ X-Received: by 10.194.203.99 with SMTP id kp3mr3640959wjc.3.1454525884294; Wed, 03 Feb 2016 10:58:04 -0800 (PST) Received: from localhost.localdomain (136-92-190-109.dsl.ovh.fr. [109.190.92.136]) by smtp.gmail.com with ESMTPSA id qs1sm7823424wjc.2.2016.02.03.10.58.02 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 03 Feb 2016 10:58:03 -0800 (PST) From: Thomas Monjalon To: dev@dpdk.org Date: Wed, 3 Feb 2016 19:56:39 +0100 Message-Id: <1454525799-25552-4-git-send-email-thomas.monjalon@6wind.com> X-Mailer: git-send-email 2.7.0 In-Reply-To: <1454525799-25552-1-git-send-email-thomas.monjalon@6wind.com> References: <1454525799-25552-1-git-send-email-thomas.monjalon@6wind.com> Subject: [dpdk-dev] [PATCH 3/3] examples/ip_pipeline: fix build for x86_64 without SSE4.2 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, 03 Feb 2016 18:58:04 -0000 The compiler cannot use _mm_crc32_u64: examples/ip_pipeline/pipeline/hash_func.h:165:9: error: implicit declaration of function '_mm_crc32_u64' is invalid in C99 Fixes: 947024a26df7 ("examples/ip_pipeline: rework passthrough pipeline") Signed-off-by: Thomas Monjalon --- 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 7846300..1953ad4 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__) +#if defined(__x86_64__) && defined(RTE_CPUFLAG_SSE4_2) #include -- 2.7.0