Re: [PATCH net-next v2 0/2] selftests: drv-net: Allow cross-compiling the hardware tests
From: Andrew Lunn
Date: Thu Sep 03 2026 - 13:48:26 EST
On Thu, Sep 03, 2026 at 05:55:21PM +0200, Maxime Chevallier (Netdev Foundation) wrote:
> Hi everyone, here's V2 for cross-compilation improvements for the
> drivers/net/hw selftests.
>
> Patch 1 fixes YNL cross compilation, while patch 2 deals with the
> iou_zcrx check.
>
> Jakub asked :
>
> I assume you don't actually have luring for your cross- env? Could we
> keep it simple and just declare luring as unavailable when cross
> compiling? Because the probing compilation rule is probably missing
> more flags to make cross compilation work.
>
> Ignore if selftests using luring do actually work for you after this
> patch..
>
> Turns out I did have liburing in the CC env (generated from Buildroot,
> which supports liburing), and the cross-compiled liburing check worked
> as expected :)
Nice. Did you give the liburing tests a quick smoke test?
I get the feeling not many Embedded people run the self tests, if
basic things like cross compilation does not work, and native 32bit
builds spits out 1000s of warnings.
Andrew