[v3,00/19] common/mlx5: share DevX resources creations
Message ID | 1609921181-5019-1-git-send-email-michaelba@nvidia.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 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 <dev@dpdk.org>; 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 <michaelba@nvidia.com> To: dev@dpdk.org Cc: Matan Azrad <matan@nvidia.com>, Raslan Darawsheh <rasland@nvidia.com>, Viacheslav Ovsiienko <viacheslavo@nvidia.com> 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 <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
Michael Baum
Jan. 6, 2021, 8:19 a.m. UTC
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