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. 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