From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (xvm-189-124.dc0.ghst.net [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 48955A09FF; Wed, 6 Jan 2021 09:20:13 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id E85B1160825; Wed, 6 Jan 2021 09:20:12 +0100 (CET) Received: from mellanox.co.il (mail-il-dmz.mellanox.com [193.47.165.129]) by mails.dpdk.org (Postfix) with ESMTP id C54081607A2 for ; Wed, 6 Jan 2021 09:20:11 +0100 (CET) Received: from Internal Mail-Server by MTLPINE1 (envelope-from michaelba@nvidia.com) with SMTP; 6 Jan 2021 10:20:10 +0200 Received: from nvidia.com (pegasus07.mtr.labs.mlnx [10.210.16.112]) by labmailer.mlnx (8.13.8/8.13.8) with ESMTP id 1068KAgT009291; Wed, 6 Jan 2021 10:20:10 +0200 From: Michael Baum To: dev@dpdk.org Cc: Matan Azrad , Raslan Darawsheh , Viacheslav Ovsiienko Date: Wed, 6 Jan 2021 08:19:22 +0000 Message-Id: <1609921181-5019-1-git-send-email-michaelba@nvidia.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1609231944-29274-2-git-send-email-michaelba@nvidia.com> References: <1609231944-29274-2-git-send-email-michaelba@nvidia.com> Subject: [dpdk-dev] [PATCH v3 00/19] common/mlx5: share DevX resources creations X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 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" Due to many instances of creating CQ SQ and RQ on DevX, they move to common. v1: Initial release. v2: Bug fix (sending wrong umem id to HW). v3: Rebase + Bug fix (sending wrong CQE size to HW). Michael Baum (19): common/mlx5: fix completion queue entry size configuration net/mlx5: remove CQE padding device argument net/mlx5: fix ASO SQ creation error flow common/mlx5: share DevX CQ creation regex/mlx5: move DevX CQ creation to common vdpa/mlx5: move DevX CQ creation to common net/mlx5: move rearm and clock queue CQ creation to common net/mlx5: move ASO CQ creation to common net/mlx5: move Tx CQ creation to common net/mlx5: move Rx CQ creation to common common/mlx5: enhance page size configuration common/mlx5: share DevX SQ creation regex/mlx5: move DevX SQ creation to common net/mlx5: move rearm and clock queue SQ creation to common net/mlx5: move Tx SQ creation to common net/mlx5: move ASO SQ creation to common common/mlx5: share DevX RQ creation net/mlx5: move Rx RQ creation to common common/mlx5: remove doorbell allocation API doc/guides/nics/mlx5.rst | 18 - drivers/common/mlx5/meson.build | 1 + drivers/common/mlx5/mlx5_common.c | 122 ----- drivers/common/mlx5/mlx5_common.h | 23 - drivers/common/mlx5/mlx5_common_devx.c | 387 ++++++++++++++ drivers/common/mlx5/mlx5_common_devx.h | 70 +++ drivers/common/mlx5/mlx5_devx_cmds.c | 57 +-- drivers/common/mlx5/mlx5_devx_cmds.h | 1 - drivers/common/mlx5/rte_common_mlx5_exports.def | 10 +- drivers/common/mlx5/version.map | 10 +- drivers/common/mlx5/windows/mlx5_win_ext.h | 1 + drivers/net/mlx5/linux/mlx5_os.c | 12 - drivers/net/mlx5/linux/mlx5_verbs.c | 2 +- drivers/net/mlx5/mlx5.c | 14 - drivers/net/mlx5/mlx5.h | 55 +- drivers/net/mlx5/mlx5_devx.c | 645 +++++------------------- drivers/net/mlx5/mlx5_flow_age.c | 173 ++----- drivers/net/mlx5/mlx5_rxtx.c | 2 +- drivers/net/mlx5/mlx5_rxtx.h | 8 - drivers/net/mlx5/mlx5_txpp.c | 290 +++-------- drivers/net/mlx5/windows/mlx5_os.c | 7 - drivers/regex/mlx5/mlx5_regex.c | 6 - drivers/regex/mlx5/mlx5_regex.h | 17 +- drivers/regex/mlx5/mlx5_regex_control.c | 242 +++------ drivers/regex/mlx5/mlx5_regex_fastpath.c | 18 +- drivers/vdpa/mlx5/mlx5_vdpa.h | 10 +- drivers/vdpa/mlx5/mlx5_vdpa_event.c | 86 +--- drivers/vdpa/mlx5/mlx5_vdpa_virtq.c | 2 +- 28 files changed, 859 insertions(+), 1430 deletions(-) create mode 100644 drivers/common/mlx5/mlx5_common_devx.c create mode 100644 drivers/common/mlx5/mlx5_common_devx.h -- 1.8.3.1