Skip to content

enable drivers to be compiled with MSVC

Andre Muezerie dpdk-dev 7 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v6 Latest3 patches 1 replyIn review
  2. v5 posting 2/23 patches 1 replySuperseded
  3. v5 posting 1/23 patches 0 repliesSuperseded
Earlier versions · 4
VersionPostedPatchesRepliesStatus
v43 patches5 repliesSuperseded
v33 patches8 repliesSuperseded
v22 patches1 replySuperseded
v11 patch2 repliesApplied

v5 from the cover letter

- Remove unnecessary parentheses from macros

Patches in v6 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3app/test: remove use of non-standard array range initializationapp/test/test_cryptodev_zuc_test_vectors.h+153 -30 replies
2/3drivers/net: make code compatible with MSVCdrivers/common/mlx5/mlx5_malloc.h drivers/net/mlx5/mlx5_rx.c drivers/net/mlx5/mlx5_utils.c +1 more+26 -100 replies
3/3drivers: enable drivers to be compiled with MSVCdrivers/meson.build+0 -40 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v6 yet.

Read the v6 thread

Cover letter [PATCH v6 0/3] enable drivers to be compiled with MSVC

This patchset solves the last issues preventing drivers from being compiled with MSVC and enables drivers to be built with it.

-v6:
- Remove temporary workaround for bug
(https://bugs.dpdk.org/show_bug.cgi?id=1758)
introduced in an earlier iteration.

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_rx.c                 |   4 +-
 drivers/net/mlx5/mlx5_utils.c              |   4 +-
 drivers/net/octeon_ep/otx_ep_mbox.c        |  24 +++-
 6 files changed, 179 insertions(+), 17 deletions(-)

--
2.50.1.vfs.0.2