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 3CC52A04C3 for ; Fri, 22 Nov 2019 15:43:00 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 2EEEF235; Fri, 22 Nov 2019 15:43:00 +0100 (CET) Received: from us-smtp-1.mimecast.com (us-smtp-delivery-1.mimecast.com [205.139.110.120]) by dpdk.org (Postfix) with ESMTP id C6AE291 for ; Fri, 22 Nov 2019 15:42:58 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1574433778; 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=1bVUg2LqYxxDn2BKWZ6yb2sAqBhJhxPeh12yCGNhi0U=; b=YsiGv6TK7RclRT13NG7vWsSw3tA10nlmcPbQTRIIy0KQhms5N6FD7Xf4YY2ptcNUwGId90 4RgNr24xhC9SFZN7cSs/wJdqe4YcfAqIiaxJmY+LTKqiR+coH9Hqz1rEVlDkbk4SOFtRRJ lX3Cr0LUiqr3s8glWLHV+GqP2MpUaQ8= 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-256-jsk2RLR3NqaeTPOdXBQ_RQ-1; Fri, 22 Nov 2019 09:42:57 -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 1E656DBA5; Fri, 22 Nov 2019 14:42:56 +0000 (UTC) Received: from rh.redhat.com (unknown [10.36.118.60]) by smtp.corp.redhat.com (Postfix) with ESMTP id D0B708516; Fri, 22 Nov 2019 14:42:54 +0000 (UTC) From: Kevin Traynor To: Phil Yang Cc: Gavin Hu , Matan Azrad , dpdk stable Date: Fri, 22 Nov 2019 14:41:24 +0000 Message-Id: <20191122144131.21231-38-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: jsk2RLR3NqaeTPOdXBQ_RQ-1 X-Mimecast-Spam-Score: 0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Subject: [dpdk-stable] patch 'net/mlx5: fix Rx CQ doorbell synchronization on aarch64' 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/accb06f7dca969ee93= 204bd1d41f1214a5e604ca Thanks. Kevin. --- >From accb06f7dca969ee93204bd1d41f1214a5e604ca Mon Sep 17 00:00:00 2001 From: Phil Yang Date: Thu, 5 Sep 2019 18:55:07 +0800 Subject: [PATCH] net/mlx5: fix Rx CQ doorbell synchronization on aarch64 [ upstream commit 94a24aaf6c5bd0a03c2828e7411d30a4fc0ac075 ] The Rx completion queue doorbell field needs to be updated after the last CQE decompressed. For the weaker memory model processors, the compiler barrier is not sufficient to guarantee the order of these operations, so use the coherent I/O memory barrier to make sure these fields are updated in order. Fixes: 570acdb1da8a ("net/mlx5: add vectorized Rx/Tx burst for ARM") Suggested-by: Gavin Hu Signed-off-by: Phil Yang Reviewed-by: Gavin Hu Acked-by: Matan Azrad --- drivers/net/mlx5/mlx5_rxtx_vec_neon.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/mlx5/mlx5_rxtx_vec_neon.h b/drivers/net/mlx5/mlx5_= rxtx_vec_neon.h index b1e0e8f3d..cdf9c65f1 100644 --- a/drivers/net/mlx5/mlx5_rxtx_vec_neon.h +++ b/drivers/net/mlx5/mlx5_rxtx_vec_neon.h @@ -1015,5 +1015,5 @@ rxq_burst_v(struct mlx5_rxq_data *rxq, struct rte_mbu= f **pkts, uint16_t pkts_n, =09=09} =09} -=09rte_compiler_barrier(); +=09rte_cio_wmb(); =09*rxq->cq_db =3D rte_cpu_to_be_32(rxq->cq_ci); =09return rcvd_pkt; --=20 2.21.0 --- Diff of the applied patch vs upstream commit (please double-check if non-= empty: --- --- -=092019-11-22 14:36:57.230925863 +0000 +++ 0038-net-mlx5-fix-Rx-CQ-doorbell-synchronization-on-aarch.patch=092019-= 11-22 14:36:55.211148987 +0000 @@ -1 +1 @@ -From 94a24aaf6c5bd0a03c2828e7411d30a4fc0ac075 Mon Sep 17 00:00:00 2001 +From accb06f7dca969ee93204bd1d41f1214a5e604ca Mon Sep 17 00:00:00 2001 @@ -5,0 +6,2 @@ +[ upstream commit 94a24aaf6c5bd0a03c2828e7411d30a4fc0ac075 ] + @@ -13 +14,0 @@ -Cc: stable@dpdk.org @@ -24 +25 @@ -index 99302869a..e914d017d 100644 +index b1e0e8f3d..cdf9c65f1 100644 @@ -27 +28 @@ -@@ -728,5 +728,5 @@ rxq_burst_v(struct mlx5_rxq_data *rxq, struct rte_mbuf= **pkts, uint16_t pkts_n, +@@ -1015,5 +1015,5 @@ rxq_burst_v(struct mlx5_rxq_data *rxq, struct rte_mb= uf **pkts, uint16_t pkts_n,