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 C826DA04BB; Tue, 6 Oct 2020 13:39:51 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 7D48849E0; Tue, 6 Oct 2020 13:39:10 +0200 (CEST) Received: from mellanox.co.il (mail-il-dmz.mellanox.com [193.47.165.129]) by dpdk.org (Postfix) with ESMTP id 864711023 for ; Tue, 6 Oct 2020 13:39:05 +0200 (CEST) Received: from Internal Mail-Server by MTLPINE1 (envelope-from suanmingm@nvidia.com) with SMTP; 6 Oct 2020 14:38:58 +0300 Received: from nvidia.com (mtbc-r640-04.mtbc.labs.mlnx [10.75.70.9]) by labmailer.mlnx (8.13.8/8.13.8) with ESMTP id 096BcuYL014182; Tue, 6 Oct 2020 14:38:57 +0300 From: Suanming Mou To: viacheslavo@nvidia.com, matan@nvidia.com Cc: rasland@nvidia.com, dev@dpdk.org Date: Tue, 6 Oct 2020 19:38:47 +0800 Message-Id: <1601984333-304464-1-git-send-email-suanmingm@nvidia.com> X-Mailer: git-send-email 1.8.3.1 Subject: [dpdk-dev] [PATCH 0/6] net/mlx5: make counter thread safe 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 mlx5 PMD is going to support multiple-thread flow operations. This patch set makes the counter action to be thread safe. Suanming Mou (6): net/mlx5: locate aging pools in the general container net/mlx5: optimize shared counter memory net/mlx5: remove single counter container net/mlx5: synchronize flow counter pool creation net/mlx5: make three level table thread safe net/mlx5: make shared counters thread safe drivers/net/mlx5/linux/mlx5_os.c | 36 ++- drivers/net/mlx5/mlx5.c | 38 ++- drivers/net/mlx5/mlx5.h | 81 +++--- drivers/net/mlx5/mlx5_flow.c | 266 +++++++++++++----- drivers/net/mlx5/mlx5_flow.h | 2 + drivers/net/mlx5/mlx5_flow_dv.c | 555 ++++++++++--------------------------- drivers/net/mlx5/mlx5_flow_verbs.c | 78 +++--- drivers/net/mlx5/mlx5_utils.c | 144 +++++++--- drivers/net/mlx5/mlx5_utils.h | 52 ++-- 9 files changed, 618 insertions(+), 634 deletions(-) -- 1.8.3.1