[PATCH] test_bbdev: enable to be compiled on Windows
Chautru, Nicolas
nicolas.chautru at intel.com
Fri Jun 13 20:55:47 CEST 2025
> -----Original Message-----
> From: Andre Muezerie <andremue at linux.microsoft.com>
> Sent: Thursday, June 12, 2025 8:25 AM
> To: Chautru, Nicolas <nicolas.chautru at intel.com>; Dmitry Kozlyuk
> <dmitry.kozliuk at gmail.com>; Tyler Retzlaff <roretzla at linux.microsoft.com>
> Cc: dev at dpdk.org; Andre Muezerie <andremue at linux.microsoft.com>
> Subject: [PATCH] test_bbdev: enable to be compiled on Windows
>
> This patch fixes a few issues which were preventing this test from getting
> compiled on Windows:
>
> 1) VLAs were removed: Variable Length Arrays are not supported by MSVC.
> Where possible constant C arrays were used. Where that approach was not
> possible alloca() was called instead.
>
> 2) rte_os_shim is included because this test relies on getline() function, which
> is not provided by Windows APIs.
>
> Signed-off-by: Andre Muezerie <andremue at linux.microsoft.com>
> ---
Acked-by: Nic Chautru <nicolas.chautru at intel.com>
More information about the dev
mailing list