From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f53.google.com (mail-wm0-f53.google.com [74.125.82.53]) by dpdk.org (Postfix) with ESMTP id 201165590 for ; Fri, 18 Mar 2016 12:22:00 +0100 (CET) Received: by mail-wm0-f53.google.com with SMTP id l68so32365759wml.1 for ; Fri, 18 Mar 2016 04:22:00 -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=cEJ2+I0har2WBEyqQG1SkkKqbe4RAWTVcRGz+0v2GSc=; b=Djx/a0B65qc8+IaRypT6lvqzjK9/HvgG0HLVLn9cE/s2saEXZ1xZKrAna4wKxoHORN sKEorsGSGRelhUAxdhoSLiRudiZ15zBB92dkuHEpBr5mRxMgopS7zzg0zmcmrqPqcsSN nThdKyEqtZHeOd48lLKxmzMBwTY7F/gUx8YwQDMcJLWFJC+9VA8cWkPW67YSiJLB7jLw XU5o/6UYJnLfsgWPL0WEHTYHg6x2P7464yUfDGHPSgGbUnJtTE+KdARwvjcdl1LB5y10 sXmOMlX/ujNphcumJQQz/FjLJhkqeV7aT3qK6wuveFJqPHlkskfxw/cwXI21uhunENAm 8yNg== 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=cEJ2+I0har2WBEyqQG1SkkKqbe4RAWTVcRGz+0v2GSc=; b=DPdUplm2qkA3H1uGNHuTFLpFNVZwiqMsTHuABeWR+W6hjFT+LrWG2edq1CVk7We3sf YIZIxIGzDg8vfieegbsYZf3kTejyQzcOIME+qoUwTcGdc8mGOCiC8fhshWV9afneCgg/ lolTrSHKXTOYT6cuAojqPFCZGCjgTBVI6AFTY5TXhnmG4pm67ypzbaVqnzADqI5Ay0/B XWudvXQeDxGymRHiAQpX89xJ9gB9D36RQWYJuo5jNdNxSwLnWHC7A8eoW02CTJFkpsTn MVwMCZ4+kiePp35zzIm2E773N4FO2KabO4/a3RfIluXBLO016TDFfFrsJwbhcxcrt6oR jodA== X-Gm-Message-State: AD7BkJJuUAeFr2T30ReXMp3PGVoStJNOYwNufWhq17JeN3JG6+bp6qTjdZTg2WavnviJR/Qe X-Received: by 10.28.195.136 with SMTP id t130mr44095757wmf.27.1458300119980; Fri, 18 Mar 2016 04:21:59 -0700 (PDT) Received: from XPS13.localdomain (91.111.75.86.rev.sfr.net. [86.75.111.91]) by smtp.gmail.com with ESMTPSA id 73sm34401711wmy.22.2016.03.18.04.21.58 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 18 Mar 2016 04:21:59 -0700 (PDT) From: Thomas Monjalon To: maciej.czekaj@caviumnetworks.com, jerin.jacob@caviumnetworks.com Cc: dev@dpdk.org Date: Fri, 18 Mar 2016 12:20:26 +0100 Message-Id: <1458300026-3004-1-git-send-email-thomas.monjalon@6wind.com> X-Mailer: git-send-email 2.7.0 In-Reply-To: <1458299767-2802-1-git-send-email-thomas.monjalon@6wind.com> References: <1458299767-2802-1-git-send-email-thomas.monjalon@6wind.com> Subject: [dpdk-dev] [PATCH v2] examples/l3fwd: prefer probed NEON flag to ARM gcc flag 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: Fri, 18 Mar 2016 11:22:00 -0000 Fixes: 64d3955de1de ("examples/l3fwd: fix ARM build") Suggested-by: Jerin Jacob Signed-off-by: Thomas Monjalon --- examples/l3fwd/l3fwd_em.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) v2: use RTE_MACHINE_CPUFLAG_NEON instead of (always defined) RTE_CPUFLAG_NEON diff --git a/examples/l3fwd/l3fwd_em.c b/examples/l3fwd/l3fwd_em.c index 0adf8f4..4983eed 100644 --- a/examples/l3fwd/l3fwd_em.c +++ b/examples/l3fwd/l3fwd_em.c @@ -250,7 +250,7 @@ em_mask_key(void *key, xmm_t mask) return _mm_and_si128(data, mask); } -#elif defined(__ARM_NEON) +#elif defined(RTE_MACHINE_CPUFLAG_NEON) static inline xmm_t em_mask_key(void *key, xmm_t mask) { -- 2.7.0