On Mon, 2023-10-30 at 13:40 -0400, 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@redhat.com Signed-off-by: Lucas Karpinski lkarpins@redhat.com
https://lore.kernel.org/all/t7v6mmuobrbucyfpwqbcujtvpa3wxnsrc36cz5rr6kzzrzkw...
I almost forgot ...
Changelog v2:
- applied synchronization method suggested by Pablo
^^^^^ most common typo since match 2022 ;)
Less irrelevant, please include the target tree in the next submission, in this case 'net-next'.
Thanks,
Paolo