mbox

[v3,0/3] mlx5: fix Windows build with Linux MinGW

Message ID 20230302132150.3330288-1-thomas@monjalon.net (mailing list archive)
Headers

Message

Thomas Monjalon March 2, 2023, 1:21 p.m. UTC
  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