Message ID | 1603162949-150001-1-git-send-email-suanmingm@nvidia.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 dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id CAAA1A04DC; Tue, 20 Oct 2020 05:02:37 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 35C87AFD1; Tue, 20 Oct 2020 05:02:36 +0200 (CEST) Received: from mellanox.co.il (mail-il-dmz.mellanox.com [193.47.165.129]) by dpdk.org (Postfix) with ESMTP id 6B749AD78 for <dev@dpdk.org>; Tue, 20 Oct 2020 05:02:34 +0200 (CEST) Received: from Internal Mail-Server by MTLPINE1 (envelope-from suanmingm@nvidia.com) with SMTP; 20 Oct 2020 06:02:32 +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 09K32V2m009619 for <dev@dpdk.org>; Tue, 20 Oct 2020 06:02:31 +0300 From: Suanming Mou <suanmingm@nvidia.com> To: Cc: dev@dpdk.org Date: Tue, 20 Oct 2020 11:02:20 +0800 Message-Id: <1603162949-150001-1-git-send-email-suanmingm@nvidia.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1601984333-304464-1-git-send-email-suanmingm@nvidia.com> References: <1601984333-304464-1-git-send-email-suanmingm@nvidia.com> Subject: [dpdk-dev] [PATCH v2 0/8] 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 <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> |
Series |
net/mlx5: make counter thread safe
|
|
Message
Suanming Mou
Oct. 20, 2020, 3:02 a.m. UTC
The mlx5 PMD is going to support multiple-thread flow operations. This patchset makes the counter action to be thread safe. Suanming Mou (8): 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 net/mlx5: rename flow counter macro net/mlx5: optimize counter extend memory -- v2: - Optimize the fallback non-batch counter memory. - Add MLX5_ prefix to counter macro. - Rebase on top of the latest code. -- drivers/net/mlx5/linux/mlx5_os.c | 53 ++- drivers/net/mlx5/mlx5.c | 51 ++- drivers/net/mlx5/mlx5.h | 146 ++++---- drivers/net/mlx5/mlx5_flow.c | 183 ++++++---- drivers/net/mlx5/mlx5_flow.h | 1 + drivers/net/mlx5/mlx5_flow_dv.c | 706 ++++++++++++++----------------------- drivers/net/mlx5/mlx5_flow_verbs.c | 130 ++++--- drivers/net/mlx5/mlx5_utils.c | 191 ++++++++-- drivers/net/mlx5/mlx5_utils.h | 81 ++++- 9 files changed, 824 insertions(+), 718 deletions(-)
Comments
Hi, > -----Original Message----- > From: dev <dev-bounces@dpdk.org> On Behalf Of Suanming Mou > Sent: Tuesday, October 20, 2020 6:02 AM > Cc: dev@dpdk.org > Subject: [dpdk-dev] [PATCH v2 0/8] net/mlx5: make counter thread safe > > The mlx5 PMD is going to support multiple-thread flow operations. > This patchset makes the counter action to be thread safe. > > Suanming Mou (8): > 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 > net/mlx5: rename flow counter macro > net/mlx5: optimize counter extend memory > > -- > > v2: > - Optimize the fallback non-batch counter memory. > - Add MLX5_ prefix to counter macro. > - Rebase on top of the latest code. > > -- > > drivers/net/mlx5/linux/mlx5_os.c | 53 ++- > drivers/net/mlx5/mlx5.c | 51 ++- > drivers/net/mlx5/mlx5.h | 146 ++++---- > drivers/net/mlx5/mlx5_flow.c | 183 ++++++---- > drivers/net/mlx5/mlx5_flow.h | 1 + > drivers/net/mlx5/mlx5_flow_dv.c | 706 ++++++++++++++-------------------- > --- > drivers/net/mlx5/mlx5_flow_verbs.c | 130 ++++--- > drivers/net/mlx5/mlx5_utils.c | 191 ++++++++-- > drivers/net/mlx5/mlx5_utils.h | 81 ++++- > 9 files changed, 824 insertions(+), 718 deletions(-) > > -- > 1.8.3.1 Series applied to next-net-mlx, Kindest regards, Raslan Darawsheh