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 94D66A052B; Fri, 31 Jul 2020 05:34:28 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 04CF32862; Fri, 31 Jul 2020 05:34:27 +0200 (CEST) Received: from git-send-mailer.rdmz.labs.mlnx (unknown [94.188.199.2]) by dpdk.org (Postfix) with ESMTP id 5C539262E for ; Fri, 31 Jul 2020 05:34:25 +0200 (CEST) From: Suanming Mou To: viacheslavo@mellanox.com, matan@mellanox.com Cc: rasland@mellanox.com, dev@dpdk.org Date: Fri, 31 Jul 2020 11:34:16 +0800 Message-Id: <1596166458-150683-1-git-send-email-suanmingm@mellanox.com> X-Mailer: git-send-email 1.8.3.1 Subject: [dpdk-dev] [PATCH 0/2] net/mlx5: manage modify actions with hashed list 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" To manage header modify actions mlx5 PMD used the single linked list and lookup and insertion operations took too long times if there were millions of objects and this impacted the flow insertion/deletion rate. In order to optimize the performance the hashed list is engaged. The list implementation is updated to support non-unique keys with few collisions. Suanming Mou (2): net/mlx5: add hash list extended lookup and insert net/mlx5: manage modify actions with hashed list drivers/net/mlx5/linux/mlx5_os.c | 15 +++++++ drivers/net/mlx5/mlx5.h | 2 +- drivers/net/mlx5/mlx5_defs.h | 3 ++ drivers/net/mlx5/mlx5_flow.h | 13 +++++- drivers/net/mlx5/mlx5_flow_dv.c | 95 ++++++++++++++++++++++++++++++++-------- drivers/net/mlx5/mlx5_utils.c | 38 ++++++++++++++++ drivers/net/mlx5/mlx5_utils.h | 57 ++++++++++++++++++++++++ 7 files changed, 203 insertions(+), 20 deletions(-) -- 1.8.3.1