Skip to content

mlx5 Windows support - part #5

Tal Shnaiderman dpdk-dev 4 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v5 Latest32 patches 1 replyIn review
  2. v432 patches 0 repliesSuperseded
  3. v332 patches 0 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v233 patches2 repliesSuperseded

Patches in v5 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/32net/mlx5: fix folding constant array errordrivers/net/mlx5/mlx5_flow.c+7 -60 replies
2/32net/mlx5/linux: extend device attributes getterdrivers/net/mlx5/linux/mlx5_os.c drivers/net/mlx5/mlx5.h+10 -00 replies
3/32net/mlx5: remove Linux files from Windows compilationdrivers/net/mlx5/meson.build+11 -50 replies
4/32net/mlx5: fix freeing packet pacingdrivers/net/mlx5/mlx5_txpp.c+5 -00 replies
5/32net/mlx5: replace Linux sleep with rte sleepdrivers/net/mlx5/mlx5.c drivers/net/mlx5/mlx5_trigger.c drivers/net/mlx5/mlx5_txpp.c+6 -80 replies
6/32net/mlx5: define mprq functions as static inlinedrivers/net/mlx5/mlx5_rxq.c drivers/net/mlx5/mlx5_rxtx.h+70 -740 replies
7/32net/mlx5: do not define static_assert in Windowsdrivers/net/mlx5/mlx5_defs.h+5 -20 replies
8/32net/mlx5: move static_assert calls to global scopedrivers/net/mlx5/mlx5_rxtx.c drivers/net/mlx5/mlx5_txpp.c+53 -500 replies
9/32net/mlx5: wrap glue alloc/dealloc PD with OS callsdrivers/common/mlx5/linux/mlx5_common_os.h drivers/net/mlx5/mlx5.c+14 -30 replies
10/32net/mlx5: wrap glue reg/dereg UMEM with OS callsdrivers/common/mlx5/linux/mlx5_common_os.h drivers/common/mlx5/mlx5_common.c drivers/net/mlx5/mlx5.c +3 more+31 -190 replies
11/32net/mlx5: fix adding destroy flow action wrapperdrivers/net/mlx5/mlx5.c drivers/net/mlx5/mlx5_flow_dv.c+7 -60 replies
12/32common/mlx5: add definition HAVE_INFINIBAND_VERBS_Hdrivers/common/mlx5/linux/meson.build+4 -20 replies
13/32common/mlx5/linux: handle memory allocations with alignmentdrivers/common/mlx5/linux/mlx5_common_os.h drivers/common/mlx5/mlx5_malloc.c+44 -80 replies
14/32common/mlx5/windows: handle memory allocations with alignmentdrivers/common/mlx5/windows/mlx5_common_os.h+51 -00 replies
15/32common/mlx5/linux: wrap event channel APIs with OS callsdrivers/common/mlx5/linux/mlx5_common_os.h drivers/net/mlx5/mlx5_devx.c drivers/net/mlx5/mlx5_txpp.c +1 more+33 -100 replies
16/32common/mlx5: add Windows exports filedrivers/common/mlx5/rte_common_mlx5_exports.def+62 -00 replies
17/32common/mlx5: extend DevX query hca attributes commanddrivers/common/mlx5/mlx5_devx_cmds.c drivers/common/mlx5/mlx5_devx_cmds.h drivers/common/mlx5/mlx5_prm.h+21 -10 replies
18/32common/mlx5: add DevX alloc PD commanddrivers/common/mlx5/mlx5_devx_cmds.c drivers/common/mlx5/mlx5_devx_cmds.h drivers/common/mlx5/mlx5_prm.h +2 more+75 -00 replies
19/32common/mlx5/windows: add glue functions APIsdrivers/common/mlx5/rte_common_mlx5_exports.def drivers/common/mlx5/windows/mlx5_glue.c drivers/common/mlx5/windows/mlx5_glue.h +2 more+422 -00 replies
20/32mlx5/windows: add mlx5 meson filedrivers/common/mlx5/windows/meson.build+41 -00 replies
21/32mlx5/windows: add initialization routine for external libdrivers/common/mlx5/windows/meson.build drivers/common/mlx5/windows/mlx5_common_os.c+25 -00 replies
22/32mlx5/windows: generate file mlx5_autoconf.hdrivers/common/mlx5/windows/meson.build+3 -00 replies
23/32common/mlx5/windows: extend PRM match_param_bits structdrivers/common/mlx5/mlx5_prm.h drivers/common/mlx5/windows/mlx5_glue.c+10 -00 replies
24/32common/mlx5/windows: add getter functionsdrivers/common/mlx5/windows/mlx5_common_os.h+91 -00 replies
25/32common/mlx5/windows: add OS alloc/dealloc pddrivers/common/mlx5/rte_common_mlx5_exports.def drivers/common/mlx5/windows/mlx5_common_os.c drivers/common/mlx5/windows/mlx5_common_os.h +1 more+59 -10 replies
26/32common/mlx5/windows: add OS umem reg/dereg APIdrivers/common/mlx5/rte_common_mlx5_exports.def drivers/common/mlx5/windows/mlx5_common_os.c drivers/common/mlx5/windows/mlx5_common_os.h+64 -00 replies
27/32net/mlx5: update MR prototypes for DevXdrivers/net/mlx5/linux/mlx5_os.c drivers/net/mlx5/linux/mlx5_verbs.c drivers/net/mlx5/linux/mlx5_verbs.h +1 more+10 -100 replies
28/32common/mlx5/windows: add OS reg/dereg MRdrivers/common/mlx5/mlx5_common_mr.h drivers/common/mlx5/rte_common_mlx5_exports.def drivers/common/mlx5/windows/mlx5_common_os.c +1 more+88 -00 replies
29/32net/mlx5/windows: implement device attribute getterdrivers/common/mlx5/mlx5_prm.h drivers/net/mlx5/windows/meson.build drivers/net/mlx5/windows/mlx5_os.c+126 -00 replies
30/32net/mlx5/windows: add mlx5_os.c stubsdrivers/net/mlx5/windows/mlx5_os.c+187 -00 replies
31/32net/mlx5/windows: implement mlx5 mac addr adddrivers/net/mlx5/windows/mlx5_os.c+36 -00 replies
32/32net/mlx5: refactor eth dev ops for Windowsdrivers/net/mlx5/windows/mlx5_os.c+108 -00 replies

Reviews trailers per patch

All 32 patches have a Reviewed-by or Acked-by.

PatchMatan Azrad
1/32A-b
2/32A-b
3/32A-b
4/32A-b
5/32A-b
6/32A-b
7/32A-b
8/32A-b
9/32A-b
10/32A-b
11/32A-b
12/32A-b
13/32A-b
14/32A-b
15/32A-b
16/32A-b
17/32A-b
18/32A-b
19/32A-b
20/32A-b
21/32A-b
22/32A-b
23/32A-b
24/32A-b
25/32A-b
26/32A-b
27/32A-b
28/32A-b
29/32A-b
30/32A-b
31/32A-b
32/32A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v5 thread

Cover letter [dpdk-dev] [PATCH v5 00/32] mlx5 Windows support - part #5

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
Signature · 1 line
2.16.1.windows.4