[0/2] net/mlx5: manage modify actions with hashed list
Message ID | 1596166458-150683-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 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 <dev@dpdk.org>; Fri, 31 Jul 2020 05:34:25 +0200 (CEST) From: Suanming Mou <suanmingm@mellanox.com> 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 <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
July 31, 2020, 3:34 a.m. UTC
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(-)