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 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 ; Thu, 18 Jun 2020 09:24:51 +0200 (CEST) From: Suanming Mou 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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(-) -- 1.8.3.1