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 EDB0DA04B5; Sun, 13 Dec 2020 11:21:47 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 282B44C7B; Sun, 13 Dec 2020 11:21:46 +0100 (CET) Received: from mellanox.co.il (mail-il-dmz.mellanox.com [193.47.165.129]) by dpdk.org (Postfix) with ESMTP id EB7AA37B7 for ; Sun, 13 Dec 2020 11:21:42 +0100 (CET) Received: from Internal Mail-Server by MTLPINE1 (envelope-from talshn@nvidia.com) with SMTP; 13 Dec 2020 12:21:41 +0200 Received: from nvidia.com (l-wincomp04-vm.mtl.labs.mlnx [10.237.1.5]) by labmailer.mlnx (8.13.8/8.13.8) with ESMTP id 0BDALe1Q018562; Sun, 13 Dec 2020 12:21:40 +0200 From: Tal Shnaiderman To: dev@dpdk.org Cc: thomas@monjalon.net, matan@nvidia.com, rasland@nvidia.com, ophirmu@nvidia.com Date: Sun, 13 Dec 2020 12:20:24 +0200 Message-Id: <20201213102056.11380-1-talshn@nvidia.com> X-Mailer: git-send-email 2.16.1.windows.4 In-Reply-To: <20201210150648.8784-2-talshn@nvidia.com> References: <20201210150648.8784-2-talshn@nvidia.com> Subject: [dpdk-dev] [PATCH v3 00/32] mlx5 Windows support - part #5 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 series is part of preparing mlx5 PMD to compile and run under Windows OS. Part #5 v1: initial version v2: Fixes after CR and rebase, also patchset was split and part of the commits sent in v1 will be sent later on. v3: Remove common compilation as it depends on upcoming patches [DmitryK]. Ophir Munk (20): net/mlx5/linux: extend device attributes getter net/mlx5: remove Linux files from Windows compilation net/mlx5: fix freeing packet pacing net/mlx5: replace Linux sleep with rte sleep net/mlx5: define mprq functions as static inline net/mlx5: do not define static_assert in Windows net/mlx5: move static_assert calls to global scope net/mlx5: wrap glue alloc/dealloc PD with OS calls net/mlx5: fix adding destroy flow action wrapper common/mlx5: add definition HAVE_INFINIBAND_VERBS_H common/mlx5/linux: handle memory allocations with alignment common/mlx5/windows: handle memory allocations with alignment mlx5/windows: add initialization routine for external lib mlx5/windows: generate file mlx5_autoconf.h common/mlx5/windows: add getter functions net/mlx5: update MR prototypes for DevX common/mlx5/windows: add OS reg/dereg MR net/mlx5/windows: implement device attribute getter net/mlx5/windows: add mlx5_os.c stubs net/mlx5: refactor eth dev ops for Windows Tal Shnaiderman (12): net/mlx5: fix folding constant array error net/mlx5: wrap glue reg/dereg UMEM with OS calls common/mlx5/linux: wrap event channel APIs with OS calls common/mlx5: add Windows exports file common/mlx5: extend DevX query hca attributes command common/mlx5: add DevX alloc PD command common/mlx5/windows: add glue functions APIs mlx5/windows: add mlx5 meson file common/mlx5/windows: extend PRM match_param_bits struct common/mlx5/windows: add OS alloc/dealloc pd common/mlx5/windows: add OS umem reg/dereg API net/mlx5/windows: implement mlx5 mac addr add drivers/common/mlx5/linux/meson.build | 6 +- drivers/common/mlx5/linux/mlx5_common_os.h | 83 +++++ drivers/common/mlx5/mlx5_common.c | 4 +- drivers/common/mlx5/mlx5_common_mr.h | 1 + drivers/common/mlx5/mlx5_devx_cmds.c | 46 +++ drivers/common/mlx5/mlx5_devx_cmds.h | 12 +- drivers/common/mlx5/mlx5_malloc.c | 14 +- drivers/common/mlx5/mlx5_prm.h | 87 +++++ drivers/common/mlx5/rte_common_mlx5_exports.def | 69 ++++ drivers/common/mlx5/version.map | 1 + drivers/common/mlx5/windows/meson.build | 46 +++ drivers/common/mlx5/windows/mlx5_common_os.c | 210 ++++++++++++ drivers/common/mlx5/windows/mlx5_common_os.h | 154 +++++++++ drivers/common/mlx5/windows/mlx5_glue.c | 307 ++++++++++++++++++ drivers/common/mlx5/windows/mlx5_glue.h | 58 ++++ drivers/common/mlx5/windows/mlx5_win_defs.h | 25 ++ drivers/common/mlx5/windows/mlx5_win_ext.h | 40 +++ drivers/net/mlx5/linux/mlx5_os.c | 9 +- drivers/net/mlx5/linux/mlx5_verbs.c | 2 +- drivers/net/mlx5/linux/mlx5_verbs.h | 8 +- drivers/net/mlx5/meson.build | 16 +- drivers/net/mlx5/mlx5.c | 18 +- drivers/net/mlx5/mlx5.h | 11 + drivers/net/mlx5/mlx5_defs.h | 7 +- drivers/net/mlx5/mlx5_devx.c | 24 +- drivers/net/mlx5/mlx5_flow.c | 17 +- drivers/net/mlx5/mlx5_flow_dv.c | 6 +- drivers/net/mlx5/mlx5_rxq.c | 71 ----- drivers/net/mlx5/mlx5_rxtx.c | 98 +++--- drivers/net/mlx5/mlx5_rxtx.h | 73 ++++- drivers/net/mlx5/mlx5_trigger.c | 3 +- drivers/net/mlx5/mlx5_txpp.c | 34 +- drivers/net/mlx5/windows/meson.build | 8 + drivers/net/mlx5/windows/mlx5_os.c | 406 ++++++++++++++++++++++++ drivers/vdpa/mlx5/mlx5_vdpa_event.c | 7 +- 35 files changed, 1778 insertions(+), 203 deletions(-) create mode 100644 drivers/common/mlx5/rte_common_mlx5_exports.def create mode 100644 drivers/common/mlx5/windows/meson.build create mode 100644 drivers/common/mlx5/windows/mlx5_common_os.c create mode 100644 drivers/common/mlx5/windows/mlx5_common_os.h create mode 100644 drivers/common/mlx5/windows/mlx5_glue.c create mode 100644 drivers/common/mlx5/windows/mlx5_glue.h create mode 100644 drivers/common/mlx5/windows/mlx5_win_defs.h create mode 100644 drivers/common/mlx5/windows/mlx5_win_ext.h create mode 100644 drivers/net/mlx5/windows/meson.build create mode 100644 drivers/net/mlx5/windows/mlx5_os.c -- 2.16.1.windows.4