From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 5E9D3A04C3 for ; Fri, 22 Nov 2019 15:42:08 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 5367A2BB1; Fri, 22 Nov 2019 15:42:08 +0100 (CET) Received: from us-smtp-delivery-1.mimecast.com (us-smtp-2.mimecast.com [207.211.31.81]) by dpdk.org (Postfix) with ESMTP id 4A9022BB1 for ; Fri, 22 Nov 2019 15:42:07 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1574433726; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=VbdLSSPyzGRgfacveGs8dd0KEPo5ac7Ksu6ul20LsFw=; b=AiJMLyH+1Mon6bctxqO/75vWGbXE/snAxNvocjd96IhQYlZ1XfKyX0KS+/avQtL3/99LxF B8Omnys4dDM+0eBAcOFvqaKjMsHiQ6fjNmW5wDRwF6pP/lrMbMRF2aGYIMcg9FOQ5Bk0LB Up8Srdjg3coB9a8WGvvSuvk+pJi6RsQ= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-75-Sb9WEZ3QP3m4e34dV1RFAw-1; Fri, 22 Nov 2019 09:42:05 -0500 Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id DA0271005509; Fri, 22 Nov 2019 14:42:03 +0000 (UTC) Received: from rh.redhat.com (unknown [10.36.118.60]) by smtp.corp.redhat.com (Postfix) with ESMTP id 9AB4E6E71E; Fri, 22 Nov 2019 14:42:02 +0000 (UTC) From: Kevin Traynor To: Gavin Hu Cc: Ruifeng Wang , Steve Capper , dpdk stable Date: Fri, 22 Nov 2019 14:40:57 +0000 Message-Id: <20191122144131.21231-11-ktraynor@redhat.com> In-Reply-To: <20191122144131.21231-1-ktraynor@redhat.com> References: <20191122144131.21231-1-ktraynor@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12 X-MC-Unique: Sb9WEZ3QP3m4e34dV1RFAw-1 X-Mimecast-Spam-Score: 0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Subject: [dpdk-stable] patch 'net/i40e: remove compiler barrier from NEON Rx' has been queued to LTS release 18.11.6 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: , Errors-To: stable-bounces@dpdk.org Sender: "stable" Hi, FYI, your patch has been queued to LTS release 18.11.6 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/29/19. So please shout if anyone has objections. Also note that after the patch there's a diff of the upstream commit vs the patch applied to the branch. This will indicate if there was any rebasing needed to apply to the stable branch. If there were code changes for rebasi= ng (ie: not only metadata diffs), please double check that the rebase was correctly done. Queued patches are on a temporary branch at: https://github.com/kevintraynor/dpdk-stable-queue This queued commit can be viewed at: https://github.com/kevintraynor/dpdk-stable-queue/commit/397f9da5cbd4c093e6= 9d8d6470a10aed20e85c2b Thanks. Kevin. --- >From 397f9da5cbd4c093e69d8d6470a10aed20e85c2b Mon Sep 17 00:00:00 2001 From: Gavin Hu Date: Tue, 13 Aug 2019 18:43:31 +0800 Subject: [PATCH] net/i40e: remove compiler barrier from NEON Rx [ upstream commit f1f0f39806d97a9a4d74d47ce7fb04e9b4943e08 ] As packet length extraction code was simplified,the ordering was not necessary any more.[1] 2% performance gain was measured on Marvell ThunderX2. 4.3% performance gain was measured on Ampere eMAG80 [1] http://mails.dpdk.org/archives/dev/2016-April/037529.html Fixes: ae0eb310f253 ("net/i40e: implement vector PMD for ARM") Signed-off-by: Gavin Hu Reviewed-by: Ruifeng Wang Reviewed-by: Steve Capper --- drivers/net/i40e/i40e_rxtx_vec_neon.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/net/i40e/i40e_rxtx_vec_neon.c b/drivers/net/i40e/i40e_= rxtx_vec_neon.c index 5555e9b5c..864eb9a32 100644 --- a/drivers/net/i40e/i40e_rxtx_vec_neon.c +++ b/drivers/net/i40e/i40e_rxtx_vec_neon.c @@ -308,7 +308,4 @@ _recv_raw_pkts_vec(struct i40e_rx_queue *rxq, struct rt= e_mbuf **rx_pkts, =09=09} =20 -=09=09/* avoid compiler reorder optimization */ -=09=09rte_compiler_barrier(); - =09=09/* pkt 3,4 shift the pktlen field to be 16-bit aligned*/ =09=09uint32x4_t len3 =3D vshlq_u32(vreinterpretq_u32_u64(descs[3]), --=20 2.21.0 --- Diff of the applied patch vs upstream commit (please double-check if non-= empty: --- --- -=092019-11-22 14:36:55.815365859 +0000 +++ 0011-net-i40e-remove-compiler-barrier-from-NEON-Rx.patch=092019-11-22 1= 4:36:55.153150226 +0000 @@ -1 +1 @@ -From f1f0f39806d97a9a4d74d47ce7fb04e9b4943e08 Mon Sep 17 00:00:00 2001 +From 397f9da5cbd4c093e69d8d6470a10aed20e85c2b Mon Sep 17 00:00:00 2001 @@ -5,0 +6,2 @@ +[ upstream commit f1f0f39806d97a9a4d74d47ce7fb04e9b4943e08 ] + @@ -15 +16,0 @@ -Cc: stable@dpdk.org