From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com [66.111.4.28]) by dpdk.org (Postfix) with ESMTP id 0582EFFA for ; Tue, 21 Nov 2017 14:31:04 +0100 (CET) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id AE0E920975; Tue, 21 Nov 2017 08:31:03 -0500 (EST) Received: from frontend2 ([10.202.2.161]) by compute1.internal (MEProxy); Tue, 21 Nov 2017 08:31:03 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fridaylinux.org; h=cc:date:from:in-reply-to:message-id:references:subject:to :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=aPpXjeoWYhRSCOu8m OqJfLplDxQvfb9gN9yGIwfr7cM=; b=dwip+q+81s7e5BNKe15xGCCJZSJMFJeCZ RNkPaUYvmJV0IcjPvIUmKvs/xSPFfT5WaZUttXZtU8e92s2+kaBWB9C7JmGhhltz 8fbOgHCGQysrfFPCBIf0wTyKja6GC0aJ5IODO8d3rkWdXRUprWMtTZiQPR+eoXFl aEh0jyJAleugauErctEA5LE/OSB389/rufMVyy4W6FLswHXuU0zL2biZcrJVagtP zhlsIFkX462M4bo9vN2fb5GB9UOm3fr/FBZkq/ERJF+6UZWZtXi6rF6DJbqn8SW8 QmuVFYySVqF7STOQN4m56yTQ7EageK1/8Tix26dpPqzsPhSChcxmA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:date:from:in-reply-to:message-id :references:subject:to:x-me-sender:x-me-sender:x-sasl-enc; s= fm1; bh=aPpXjeoWYhRSCOu8mOqJfLplDxQvfb9gN9yGIwfr7cM=; b=E9BuM3Ix hE3YgwcjrBKccXxQT8hYo/fLEE9VzLc93JgSMMBP4HwYDaPHJi+ZTWHuaGo0ix6/ yG2bI9GrNrkOhRIJB6GNVm6PyftTVqwE1fkoDB7S2EM3ojKdJ+v/GrvBj157fNqe ciVsgBX8iix16OYTynWQSagI9RLc0DHwl2iUba/pVNZr05kZ5WvRoEwt82Sx/joy dtt7uaY6bkwZOcpq9Kqd14OPGJQB7VIp9Kx4arafzBWh895zNUdhm4upn0iWNPp0 kIlUMQ8u/bceJY00WCROc65O1uREoxwn0K1+y2yG/CyysM5oUAT7B0aIn/Lxc9g/ AkFG5MXvUWwB+Q== X-ME-Sender: Received: from localhost.localdomain (unknown [180.158.62.0]) by mail.messagingengine.com (Postfix) with ESMTPA id 4F53424B9C; Tue, 21 Nov 2017 08:30:59 -0500 (EST) From: Yuanhan Liu To: Guduri Prathyusha Cc: Jianbo Liu , Jerin Jacob , dpdk stable Date: Tue, 21 Nov 2017 21:18:43 +0800 Message-Id: <1511270333-31002-181-git-send-email-yliu@fridaylinux.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1511270333-31002-1-git-send-email-yliu@fridaylinux.org> References: <1511270333-31002-1-git-send-email-yliu@fridaylinux.org> Subject: [dpdk-stable] patch 'examples/l3fwd: fix NEON instructions' has been queued to stable release 17.08.1 X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Nov 2017 13:31:04 -0000 Hi, FYI, your patch has been queued to stable release 17.08.1 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 11/24/17. So please shout if anyone has objections. Thanks. --yliu --- >>From 70332c6240a284fc2f246421daff01a33fea4c91 Mon Sep 17 00:00:00 2001 From: Guduri Prathyusha Date: Mon, 30 Oct 2017 13:01:26 +0530 Subject: [PATCH] examples/l3fwd: fix NEON instructions [ upstream commit 3a4475e51d13ec3328b291061c38b7c5643a86ee ] To group consecutive packets with same destination port in bursts of 4 neon intrinsic data types dp1 and dp2 are calculated such that if dst_port[]={a,b,c,d,e,f,g,h,i...} dp1 should contain: and dp2 should contain: in the first iteration. dp1 should be and dp2 should be in the next iteration. Whereas the existing code incorrectly calculates dp1 as from second iteration. This patch fixes the incorrect ARM NEON instructions on dp1. Fixes: 569b290cdb36 ("examples/l3fwd: add NEON implementation") Signed-off-by: Guduri Prathyusha Acked-by: Jianbo Liu Acked-by: Jerin Jacob --- examples/l3fwd/l3fwd_neon.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/l3fwd/l3fwd_neon.h b/examples/l3fwd/l3fwd_neon.h index 42d50d3..4bc1613 100644 --- a/examples/l3fwd/l3fwd_neon.h +++ b/examples/l3fwd/l3fwd_neon.h @@ -192,7 +192,7 @@ send_packets_multi(struct lcore_conf *qconf, struct rte_mbuf **pkts_burst, * dp1: * */ - dp1 = vextq_u16(dp1, dp1, FWDSTEP - 1); + dp1 = vextq_u16(dp2, dp1, FWDSTEP - 1); } /* -- 2.7.4