From patchwork Tue Oct 27 15:28:20 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Kozyrev X-Patchwork-Id: 82354 Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id C3AD0A04B5; Tue, 27 Oct 2020 16:28:37 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 23A626CA9; Tue, 27 Oct 2020 16:28:36 +0100 (CET) Received: from mellanox.co.il (mail-il-dmz.mellanox.com [193.47.165.129]) by dpdk.org (Postfix) with ESMTP id 9A5FF6A1B for ; Tue, 27 Oct 2020 16:28:34 +0100 (CET) Received: from Internal Mail-Server by MTLPINE1 (envelope-from akozyrev@nvidia.com) with SMTP; 27 Oct 2020 17:28:28 +0200 Received: from nvidia.com (pegasus02.mtr.labs.mlnx [10.210.16.122]) by labmailer.mlnx (8.13.8/8.13.8) with ESMTP id 09RFSSea029461; Tue, 27 Oct 2020 17:28:28 +0200 From: Alexander Kozyrev To: dev@dpdk.org Cc: rasland@nvidia.com, matan@nvidia.com, viacheslavo@nvidia.com Date: Tue, 27 Oct 2020 15:28:20 +0000 Message-Id: <20201027152824.15232-1-akozyrev@nvidia.com> X-Mailer: git-send-email 2.24.1 MIME-Version: 1.0 Subject: [dpdk-dev] [PATCH 0/4] net/mlx5: use C11 atomic builtins X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" The rte_atomic API is deprecated and needs to be replaced with C11 atomic builtins in MLX5 driver. Alexander Kozyrev (4): common/mlx5: use C11 atomics for memory allocation common/mlx5: use C11 atomics for netlink sequence net/mlx5: use C11 atomics for RxQ/TxQ refcounts net/mlx5: use C11 atomics for RTE flow tables drivers/common/mlx5/linux/mlx5_nl.c | 5 +- drivers/common/mlx5/mlx5_malloc.c | 91 ++++++++--------- drivers/net/mlx5/linux/mlx5_ethdev_os.c | 1 - drivers/net/mlx5/mlx5.c | 9 +- drivers/net/mlx5/mlx5.h | 15 ++- drivers/net/mlx5/mlx5_ethdev.c | 1 - drivers/net/mlx5/mlx5_flow.h | 15 ++- drivers/net/mlx5/mlx5_flow_dv.c | 126 +++++++++++++----------- drivers/net/mlx5/mlx5_rxq.c | 28 +++--- drivers/net/mlx5/mlx5_txq.c | 8 +- 10 files changed, 153 insertions(+), 146 deletions(-)