Re: [PATCH v2] selftests/net: synchronize udpgso_bench rx and tx

From: Lucas Karpinski
Date: Tue Oct 31 2023 - 09:27:38 EST


> Since you wrote the same function verbatim in 3 different files, I
> think it would be better place it in separate, new, net_helper.sh file
> and include such file from the various callers. Possibly additionally
> rename the function as wait_local_udp_port_listen.
>
Thanks, I'll move it over. I think it would be best though to leave udp
out of the name and to just pass the protocol as an argument. That way
any future tcp tests can also take advantage of it.

Lucas