Hello, this is the v5 of the series aiming to reduce the flakyness of tc_tunnel/tc_edt tests in CI. This revision just fixes multi-line comments style, not only for the updated helper but for the whole network_helpers.c file
Signed-off-by: Alexis Lothoré (eBPF Foundation) <[email protected]> --- Changes in v5: - reformat multi-line comments - collect Ihor's Acked-by - Link to v4: https://patch.msgid.link/[email protected] Changes in v4: - dropped the polling loop in favor of a larger, connect-specific timeout - drop timeout configuration from tc_edt test - Link to v3: https://patch.msgid.link/[email protected] Changes in v3: - set errno before logging errors - respect time budget set by - respect opts->timeout_ms when polling: only poll for the remaining time not already consume by connect() - keep polling if poll returns with EINTR - reorder early returns and add intermediate variables to clarify code flow - Link to v2: https://patch.msgid.link/[email protected] Changes in v2: - drop unneeded initialization - add back error message for immediate connection failure, and slightly reword the async connection failure error message - Link to v1: https://patch.msgid.link/[email protected] To: Alexei Starovoitov <[email protected]> To: Daniel Borkmann <[email protected]> To: Andrii Nakryiko <[email protected]> To: Eduard Zingerman <[email protected]> To: Kumar Kartikeya Dwivedi <[email protected]> To: Martin KaFai Lau <[email protected]> To: Song Liu <[email protected]> To: Yonghong Song <[email protected]> To: Jiri Olsa <[email protected]> To: Emil Tsalapatis <[email protected]> To: Ihor Solodrai <[email protected]> To: Shuah Khan <[email protected]> Cc: [email protected] Cc: Bastien Curutchet <[email protected]> Cc: Thomas Petazzoni <[email protected]> Cc: [email protected] Cc: [email protected] Cc: [email protected] --- Alexis Lothoré (eBPF Foundation) (2): bpf/selftests: fix comment style in network_helpers.c selftests/bpf: allocate a larger timeout for connection tools/testing/selftests/bpf/network_helpers.c | 60 ++++++++++++++++++++++----- 1 file changed, 49 insertions(+), 11 deletions(-) --- base-commit: 114cb6aa1571c30770715a1756553b812865b1ba change-id: 20260710-tc_tunnel_flaky-27e9a191bd03 Best regards, -- Alexis Lothoré (eBPF Foundation) <[email protected]>

