[PATCH] test-flow-perf: Enable to build on Windows

David Marchand david.marchand at redhat.com
Fri Aug 29 15:04:10 CEST 2025


Hello,

On Tue, 5 Aug 2025 at 22:00, Andre Muezerie
<andremue at linux.microsoft.com> wrote:
>
> This patch fixes some issues which were preventing this test to be
> built on Windows:
>
> - Remove VLAs (not supported by msvc).
> - Replace strsep() (which is not natively available on Windows)
>   with strtok_r().
> - Remove the "thousands" separator from printf() calls as it is
>   not available on Windows.

Can we use rte_size_to_str() instead?

> - Include the test in the Windows build.
>
> Signed-off-by: Andre Muezerie <andremue at linux.microsoft.com>

Otherwise it lgtm.


-- 
David Marchand



More information about the dev mailing list