Re: [PATCH net-next v3] selftests/net: synchronize udpgro tests' tx and rx connection

From: Willem de Bruijn
Date: Tue Nov 14 2023 - 10:46:53 EST


Lucas Karpinski wrote:
> The sockets used by udpgso_bench_tx aren't always ready when
> udpgso_bench_tx transmits packets. This issue is more prevalent in -rt
> kernels, but can occur in both. Replace the hacky sleep calls with a
> function that checks whether the ports in the namespace are ready for
> use.
>
> Suggested-by: Paolo Abeni <pabeni@xxxxxxxxxx>
> Signed-off-by: Lucas Karpinski <lkarpins@xxxxxxxxxx>

Reviewed-by: Willem de Bruijn <willemb@xxxxxxxxxx>