[v2,0/2] remove wmb for net/mlx
Message ID | 20210517100002.19905-1-feifei.wang2@arm.com (mailing list archive) |
---|---|
Headers |
Return-Path: <dev-bounces@dpdk.org> X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 762BDA0A02; Mon, 17 May 2021 12:00:13 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 4762440F35; Mon, 17 May 2021 12:00:13 +0200 (CEST) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mails.dpdk.org (Postfix) with ESMTP id 1AB674014E for <dev@dpdk.org>; Mon, 17 May 2021 12:00:12 +0200 (CEST) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 8A530106F; Mon, 17 May 2021 03:00:11 -0700 (PDT) Received: from net-x86-dell-8268.shanghai.arm.com (net-x86-dell-8268.shanghai.arm.com [10.169.210.111]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 346C13F719; Mon, 17 May 2021 03:00:09 -0700 (PDT) From: Feifei Wang <feifei.wang2@arm.com> To: Cc: dev@dpdk.org, nd@arm.com, Feifei Wang <feifei.wang2@arm.com> Date: Mon, 17 May 2021 18:00:00 +0800 Message-Id: <20210517100002.19905-1-feifei.wang2@arm.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210318071840.359957-1-feifei.wang2@arm.com> References: <20210318071840.359957-1-feifei.wang2@arm.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [PATCH v2 0/2] remove wmb for net/mlx X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions <dev.dpdk.org> List-Unsubscribe: <https://mails.dpdk.org/options/dev>, <mailto:dev-request@dpdk.org?subject=unsubscribe> List-Archive: <http://mails.dpdk.org/archives/dev/> List-Post: <mailto:dev@dpdk.org> List-Help: <mailto:dev-request@dpdk.org?subject=help> List-Subscribe: <https://mails.dpdk.org/listinfo/dev>, <mailto:dev-request@dpdk.org?subject=subscribe> Errors-To: dev-bounces@dpdk.org Sender: "dev" <dev-bounces@dpdk.org> |
Message
Feifei Wang
May 17, 2021, 10 a.m. UTC
For net/mlx4 and net/mlx5, remove unnecessary wmb for Memory Region cache. v2: 1. keep the order of dev_gen and global cache (Slava Ovsiienko) 2. remove the wmb at last instead of moving it forward 3. remove atomic_thread_fence patches Feifei Wang (2): net/mlx4: remove unnecessary wmb for Memory Region cache net/mlx5: remove unnecessary wmb for Memory Region cache drivers/net/mlx4/mlx4_mr.c | 13 +++++-------- drivers/net/mlx5/mlx5_mr.c | 26 ++++++++++---------------- 2 files changed, 15 insertions(+), 24 deletions(-)