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 5CE81A09FF; Mon, 28 Dec 2020 10:54:49 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 67D65C9E0; Mon, 28 Dec 2020 10:54:47 +0100 (CET) Received: from mellanox.co.il (mail-il-dmz.mellanox.com [193.47.165.129]) by dpdk.org (Postfix) with ESMTP id 57366C9D6 for ; Mon, 28 Dec 2020 10:54:45 +0100 (CET) Received: from Internal Mail-Server by MTLPINE1 (envelope-from talshn@nvidia.com) with SMTP; 28 Dec 2020 11:54:43 +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 0BS9shDR012171; Mon, 28 Dec 2020 11:54:43 +0200 From: Tal Shnaiderman To: dev@dpdk.org Cc: thomas@monjalon.net, matan@nvidia.com, rasland@nvidia.com, ophirmu@nvidia.com Date: Mon, 28 Dec 2020 11:54:04 +0200 Message-Id: <20201228095436.14996-1-talshn@nvidia.com> X-Mailer: git-send-email 2.16.1.windows.4 In-Reply-To: <20201213205005.7300-2-talshn@nvidia.com> References: <20201213205005.7300-2-talshn@nvidia.com> Subject: [dpdk-dev] [PATCH v5 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]. v4: Fix syntax error in warning message. v5: Fix style issues. 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 | 45 +++ 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 | 20 +- 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(+), 204 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