Skip to content

mlx5: fix Windows build with Linux MinGW

Thomas Monjalon dpdk-dev 4 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest3 patches 11 repliesIn review
  2. v2 posting 2/24 patches 3 repliesApplied
  3. v2 posting 1/20 of 4 patches 0 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v13 patches1 replySuperseded

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3common/mlx5: get Windows dependency from standard variablesdoc/guides/platform/mlx5.rst drivers/common/mlx5/windows/meson.build+20 -196 replies
2/3net/mlx5: remove weak stub functionsdrivers/net/mlx5/meson.build drivers/net/mlx5/mlx5_rx.c drivers/net/mlx5/mlx5_rxtx_vec_null.c+46 -402 replies
3/3net/mlx5: fix Windows build with MinGW GCC 12drivers/common/mlx5/meson.build drivers/common/mlx5/windows/mlx5_win_defs.h drivers/net/mlx5/windows/mlx5_os.c+65 -482 replies

Reviews trailers per patch

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

PatchTyler RetzlaffTal Shnaiderman
1/3A-b A-b
2/3A-b A-b
3/3A-b A-b

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

Read the v3 thread

Cover letter [PATCH v3 0/3] mlx5: fix Windows build with Linux MinGW

The result is to make possible to compile mlx5 on Linux for Windows.

v2: improve mlx5 doc and remove weak attribute from mlx5
v3: avoid MinGW on Windows - EAL patch already applied

Thomas Monjalon (3):
common/mlx5: get Windows dependency from standard variables net/mlx5: remove weak stub functions
net/mlx5: fix Windows build with MinGW GCC 12

 doc/guides/platform/mlx5.rst                |  11 ++-
 drivers/common/mlx5/meson.build             |   9 +-
 drivers/common/mlx5/windows/meson.build     |  28 +++---
 drivers/common/mlx5/windows/mlx5_win_defs.h | 100 +++++++++++---------
 drivers/net/mlx5/meson.build                |  13 ++-
 drivers/net/mlx5/mlx5_rx.c                  |  35 -------
 drivers/net/mlx5/mlx5_rxtx_vec_null.c       |  38 ++++++++
 drivers/net/mlx5/windows/mlx5_os.c          |   4 +-
 8 files changed, 131 insertions(+), 107 deletions(-)
 create mode 100644 drivers/net/mlx5/mlx5_rxtx_vec_null.c
Signature · 1 line
2.39.1