[PATCH v2 00/10] enable "app" to be compiled with MSVC
Andre Muezerie
andremue at linux.microsoft.com
Tue Feb 18 17:31:59 CET 2025
v2:
- use lcore_count as atomic always, not only when RTE_USE_C11_MEM_MODEL
is set.
- use PRIu64 in csumonly.c instead of casting variables to int.
This series fixes many issues that prevent the "app" directory
from being compiled with MSVC.
Andre Muezerie (10):
eal: add workaround for __builtin_constant_p
test_alarm: avoid warning about different qualifiers
test-pmd: fix printf format string mismatch
test-pmd: do explicit 64-bit shift to avoid implicit conversion
test-pmd: avoid undefined behavior
test-pmd: avoid non-constant initializer
test-pmd: don't return value from void function
test-pmd: declare lcore_count atomic
test: add workaround for __builtin_constant_p in test_memcpy_perf
app: enable app directory to be compiled with MSVC
app/meson.build | 4 --
app/test-pmd/cmdline.c | 19 +++--
app/test-pmd/cmdline_flow.c | 22 +++---
app/test-pmd/csumonly.c | 23 +++---
app/test-pmd/meson.build | 4 +-
app/test-pmd/testpmd.c | 2 +-
app/test-pmd/util.c | 2 +-
app/test/test_alarm.c | 12 ++--
app/test/test_memcpy_perf.c | 106 ++++++++++++++--------------
app/test/test_ring_perf.c | 6 +-
lib/eal/include/generic/rte_pause.h | 2 +-
lib/eal/include/rte_common.h | 12 ++++
12 files changed, 116 insertions(+), 98 deletions(-)
--
2.48.1.vfs.0.0
More information about the dev
mailing list