RE: [PATCH] test_bbdev: enable to be compiled on Windows
From: Chautru, Nicolas <hidden>
Date: 2025-06-13 18:56:09
From: Chautru, Nicolas <hidden>
Date: 2025-06-13 18:56:09
-----Original Message----- From: Andre Muezerie <redacted> Sent: Thursday, June 12, 2025 8:25 AM To: Chautru, Nicolas <redacted>; Dmitry Kozlyuk [off-list ref]; Tyler Retzlaff [off-list ref] Cc: dev@dpdk.org; Andre Muezerie <redacted> 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 <redacted> ---
Acked-by: Nic Chautru <redacted>