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 7CF45A04B3; Tue, 28 Jan 2020 17:27:48 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 136AA1D15E; Tue, 28 Jan 2020 17:27:47 +0100 (CET) Received: from mellanox.co.il (mail-il-dmz.mellanox.com [193.47.165.129]) by dpdk.org (Postfix) with ESMTP id E74501D14E for ; Tue, 28 Jan 2020 17:27:44 +0100 (CET) Received: from Internal Mail-Server by MTLPINE2 (envelope-from asafp@mellanox.com) with ESMTPS (AES256-SHA encrypted); 28 Jan 2020 18:27:44 +0200 Received: from pegasus07.mtr.labs.mlnx (pegasus07.mtr.labs.mlnx [10.210.16.112]) by labmailer.mlnx (8.13.8/8.13.8) with ESMTP id 00SIOulJ013316; Tue, 28 Jan 2020 20:24:56 +0200 From: Matan Azrad To: dev@dpdk.org, Viacheslav Ovsiienko Cc: Raslan Darawsheh Date: Tue, 28 Jan 2020 16:27:15 +0000 Message-Id: <1580228860-10665-1-git-send-email-matan@mellanox.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1580205965-21492-1-git-send-email-matan@mellanox.com> References: <1580205965-21492-1-git-send-email-matan@mellanox.com> Subject: [dpdk-dev] [PATCH v3 00/25] Introduce mlx5 common library 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" Steps: - Prepare net/mlx5 for code sharing. - Introduce new common lib for mlx5 devices. - Share code from net/mlx5 to common/mlx5. v2: - Reorder patches for 2 serieses - this is the first one for common directory and vDPA preparation, the second will be sent later for vDPA new driver part. - Fix spelling and per patch complition issues. - moved to use claim_zero instead of pure asserts. - improve title names. v3: rebase. Matan Azrad (25): net/mlx5: separate DevX commands interface drivers: introduce mlx5 common library common/mlx5: share the mlx5 glue reference common/mlx5: share mlx5 PCI device detection common/mlx5: share mlx5 devices information common/mlx5: share CQ entry check common/mlx5: add query vDPA DevX capabilities common/mlx5: glue null memory region allocation common/mlx5: support DevX indirect mkey creation common/mlx5: glue event queue query common/mlx5: glue event interrupt commands common/mlx5: glue UAR allocation common/mlx5: add DevX command to create CQ common/mlx5: glue VAR allocation common/mlx5: add DevX virtq commands common/mlx5: add support for DevX QP operations common/mlx5: allow type configuration for DevX RQT common/mlx5: add TIR field constants common/mlx5: add DevX command to modify RQT common/mlx5: get DevX capability for max RQT size net/mlx5: select driver by vDPA device argument net/mlx5: separate Netlink command interface net/mlx5: reduce Netlink commands dependencies common/mlx5: share Netlink commands common/mlx5: support ROCE disable through Netlink MAINTAINERS | 1 + drivers/common/Makefile | 4 + drivers/common/meson.build | 2 +- drivers/common/mlx5/Makefile | 347 ++++ drivers/common/mlx5/meson.build | 210 ++ drivers/common/mlx5/mlx5_common.c | 332 +++ drivers/common/mlx5/mlx5_common.h | 214 ++ drivers/common/mlx5/mlx5_common_utils.h | 20 + drivers/common/mlx5/mlx5_devx_cmds.c | 1530 ++++++++++++++ drivers/common/mlx5/mlx5_devx_cmds.h | 351 ++++ drivers/common/mlx5/mlx5_glue.c | 1296 ++++++++++++ drivers/common/mlx5/mlx5_glue.h | 305 +++ drivers/common/mlx5/mlx5_nl.c | 1699 +++++++++++++++ drivers/common/mlx5/mlx5_nl.h | 63 + drivers/common/mlx5/mlx5_prm.h | 2542 +++++++++++++++++++++++ drivers/common/mlx5/rte_common_mlx5_version.map | 50 + drivers/net/mlx5/Makefile | 307 +-- drivers/net/mlx5/meson.build | 257 +-- drivers/net/mlx5/mlx5.c | 194 +- drivers/net/mlx5/mlx5.h | 326 +-- drivers/net/mlx5/mlx5_defs.h | 8 - drivers/net/mlx5/mlx5_devx_cmds.c | 969 --------- drivers/net/mlx5/mlx5_ethdev.c | 161 +- drivers/net/mlx5/mlx5_flow.c | 12 +- drivers/net/mlx5/mlx5_flow.h | 3 +- drivers/net/mlx5/mlx5_flow_dv.c | 12 +- drivers/net/mlx5/mlx5_flow_meter.c | 2 + drivers/net/mlx5/mlx5_flow_verbs.c | 7 +- drivers/net/mlx5/mlx5_glue.c | 1150 ---------- drivers/net/mlx5/mlx5_glue.h | 264 --- drivers/net/mlx5/mlx5_mac.c | 16 +- drivers/net/mlx5/mlx5_mr.c | 3 +- drivers/net/mlx5/mlx5_nl.c | 1402 ------------- drivers/net/mlx5/mlx5_prm.h | 1888 ----------------- drivers/net/mlx5/mlx5_rss.c | 2 +- drivers/net/mlx5/mlx5_rxmode.c | 12 +- drivers/net/mlx5/mlx5_rxq.c | 7 +- drivers/net/mlx5/mlx5_rxtx.c | 7 +- drivers/net/mlx5/mlx5_rxtx.h | 46 +- drivers/net/mlx5/mlx5_rxtx_vec.c | 5 +- drivers/net/mlx5/mlx5_rxtx_vec.h | 3 +- drivers/net/mlx5/mlx5_rxtx_vec_altivec.h | 5 +- drivers/net/mlx5/mlx5_rxtx_vec_neon.h | 5 +- drivers/net/mlx5/mlx5_rxtx_vec_sse.h | 5 +- drivers/net/mlx5/mlx5_stats.c | 5 +- drivers/net/mlx5/mlx5_txq.c | 7 +- drivers/net/mlx5/mlx5_utils.h | 79 +- drivers/net/mlx5/mlx5_vlan.c | 137 +- mk/rte.app.mk | 1 + 49 files changed, 9273 insertions(+), 7000 deletions(-) create mode 100644 drivers/common/mlx5/Makefile create mode 100644 drivers/common/mlx5/meson.build create mode 100644 drivers/common/mlx5/mlx5_common.c create mode 100644 drivers/common/mlx5/mlx5_common.h create mode 100644 drivers/common/mlx5/mlx5_common_utils.h create mode 100644 drivers/common/mlx5/mlx5_devx_cmds.c create mode 100644 drivers/common/mlx5/mlx5_devx_cmds.h create mode 100644 drivers/common/mlx5/mlx5_glue.c create mode 100644 drivers/common/mlx5/mlx5_glue.h create mode 100644 drivers/common/mlx5/mlx5_nl.c create mode 100644 drivers/common/mlx5/mlx5_nl.h create mode 100644 drivers/common/mlx5/mlx5_prm.h create mode 100644 drivers/common/mlx5/rte_common_mlx5_version.map delete mode 100644 drivers/net/mlx5/mlx5_devx_cmds.c delete mode 100644 drivers/net/mlx5/mlx5_glue.c delete mode 100644 drivers/net/mlx5/mlx5_glue.h delete mode 100644 drivers/net/mlx5/mlx5_nl.c delete mode 100644 drivers/net/mlx5/mlx5_prm.h -- 1.8.3.1