Re: [PATCH net-next v2 2/2] selftests: drv-net: Use cross-compilation environment for the io_uring check

From: Matthieu Baerts

Date: Thu Sep 03 2026 - 12:29:41 EST


Hi Maxime,

On 03/09/2026 17:55, Maxime Chevallier (Netdev Foundation) wrote:
> To test for the presence of zerocopy support in the available liburing,
> a small check program is compiled.
>
> The CC value used for the io_uring library check defaults to the host
> compiler, which will fail in cross-compiling environments.
>
> Normally the CC for cross-compile is set in lib.mk, but this also
> requires the test list to be set when we include it, and this check
> needs to run first.
>
> Note that this doesn't cover the LLVM cross-compiling case though.

Thank you for the new version!

Reviewed-by: Matthieu Baerts (Netdev Foundation) <matttbe@xxxxxxxxxx>

"(Netdev Foundation)" is quite long, we should have a shorter version :P

Cheers,
Matt