[PATCH RESEND v5 0/3] enable drivers to be compiled with MSVC

David Marchand david.marchand at redhat.com
Tue Sep 9 16:56:41 CEST 2025


On Mon, 25 Aug 2025 at 16:58, Andre Muezerie
<andremue at linux.microsoft.com> wrote:
>
> This patchset solves the last issues preventing drivers from being
> compiled with MSVC and enables drivers to be built with it.
>
> v5:
> - Remove unnecessary parentheses from macros
>
> v4:
> - Add explicit casts to avoid warnings in mlx5 driver
> (https://bugs.dpdk.org/show_bug.cgi?id=1758).
> - Add cast to drivers\net\mlx5\mlx5_rx.c to avoid warnings
> about signed/unsigned comparison.
>
> v3:
> - Add a patch to enable drivers to be compiled with MSVC.
>
> v2:
> - Rebase on top of latest main.
>
> Andre Muezerie (3):
>   app/test: remove use of non-standard array range initialization
>   drivers/net: make code compatible with MSVC
>   drivers: enable drivers to be compiled with MSVC
>
>  app/test/test_cryptodev_zuc_test_vectors.h | 156 ++++++++++++++++++++-
>  drivers/common/mlx5/mlx5_malloc.h          |   4 +-
>  drivers/meson.build                        |   4 -
>  drivers/net/mlx5/mlx5_flow_dv.c            |   5 +-
>  drivers/net/mlx5/mlx5_rx.c                 |   4 +-
>  drivers/net/mlx5/mlx5_utils.c              |   4 +-
>  drivers/net/octeon_ep/otx_ep_mbox.c        |  24 +++-
>  7 files changed, 183 insertions(+), 18 deletions(-)

This series needs a (trivial) rebase.
The CI has been a bit bumpy with new drivers and changes in mlx5.

Please send a v6.


-- 
David Marchand



More information about the dev mailing list