Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-11.7 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,UNPARSEABLE_RELAY,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6F785C6369E for ; Thu, 3 Dec 2020 02:19:16 +0000 (UTC) Received: from dpdk.org (dpdk.org [92.243.14.124]) by mail.kernel.org (Postfix) with ESMTP id AFE4621D7A for ; Thu, 3 Dec 2020 02:19:15 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org AFE4621D7A Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=nvidia.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=dev-bounces@dpdk.org Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 4FCC034F3; Thu, 3 Dec 2020 03:19:13 +0100 (CET) Received: from mellanox.co.il (mail-il-dmz.mellanox.com [193.47.165.129]) by dpdk.org (Postfix) with ESMTP id 012CC2C6E for ; Thu, 3 Dec 2020 03:19:11 +0100 (CET) Received: from Internal Mail-Server by MTLPINE1 (envelope-from suanmingm@nvidia.com) with SMTP; 3 Dec 2020 04:19:06 +0200 Received: from nvidia.com (mtbc-r640-03.mtbc.labs.mlnx [10.75.70.8]) by labmailer.mlnx (8.13.8/8.13.8) with ESMTP id 0B32J416002249; Thu, 3 Dec 2020 04:19:05 +0200 From: Suanming Mou To: viacheslavo@nvidia.com, matan@nvidia.com Cc: rasland@nvidia.com, dev@dpdk.org Date: Thu, 3 Dec 2020 04:18:50 +0200 Message-Id: <20201203021852.1204285-1-suanmingm@nvidia.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <1606909165-164407-1-git-send-email-suanmingm@nvidia.com> References: <1606909165-164407-1-git-send-email-suanmingm@nvidia.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [PATCH v2 0/2] net/mlx5: hash list optimization 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 contains the hash list optimization for the lock and memory. v2: - Remove the __rte_pack in struct mlx5_hlist_entry. Suanming Mou (2): net/mlx5: optimize hash list synchronization net/mlx5: optimize the hash list entry memory drivers/net/mlx5/linux/mlx5_os.c | 5 +- drivers/net/mlx5/mlx5.c | 3 +- drivers/net/mlx5/mlx5_flow.c | 43 +++++++++++++--- drivers/net/mlx5/mlx5_flow.h | 23 +++++++-- drivers/net/mlx5/mlx5_flow_dv.c | 57 +++++++++++++++------ drivers/net/mlx5/mlx5_utils.c | 85 ++++++++++++++++---------------- drivers/net/mlx5/mlx5_utils.h | 14 ++++-- 7 files changed, 154 insertions(+), 76 deletions(-) -- 2.25.1