[0/3] net/mlx5: optimize single counter allocate
Message ID | 1592465084-140601-1-git-send-email-suanmingm@mellanox.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 0679EA04A5; Thu, 18 Jun 2020 09:24:54 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 6CDA41BC24; Thu, 18 Jun 2020 09:24:53 +0200 (CEST) Received: from git-send-mailer.rdmz.labs.mlnx (unknown [37.142.13.130]) by dpdk.org (Postfix) with ESMTP id 5A8FBF12 for <dev@dpdk.org>; Thu, 18 Jun 2020 09:24:51 +0200 (CEST) From: Suanming Mou <suanmingm@mellanox.com> To: viacheslavo@mellanox.com, matan@mellanox.com Cc: rasland@mellanox.com, dev@dpdk.org Date: Thu, 18 Jun 2020 15:24:41 +0800 Message-Id: <1592465084-140601-1-git-send-email-suanmingm@mellanox.com> X-Mailer: git-send-email 1.8.3.1 Subject: [dpdk-dev] [PATCH 0/3] net/mlx5: optimize single counter allocate 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> |
Message
Suanming Mou
June 18, 2020, 7:24 a.m. UTC
This patch set optimizes the DevX single counter allocate from two sides: 1. Add the multiple level table to have a quick look up while allocate/search the single shared counter. 2. Optimize the pool look up for the new allocated single counter. Suanming Mou (3): net/mlx5: add Three-Level table utility net/mlx5: manage shared counters in Three-Level table net/mlx5: optimize single counter pool search drivers/net/mlx5/mlx5.c | 16 +++ drivers/net/mlx5/mlx5.h | 10 ++ drivers/net/mlx5/mlx5_flow_dv.c | 115 +++++++++++------ drivers/net/mlx5/mlx5_utils.c | 276 ++++++++++++++++++++++++++++++++++++++++ drivers/net/mlx5/mlx5_utils.h | 165 ++++++++++++++++++++++++ 5 files changed, 545 insertions(+), 37 deletions(-)