Searched hist:"574 ee209286755ae57449196bfa11a90d2d724e5" (Results 1 – 3 of 3) sorted by relevance
/openbmc/linux/tools/testing/selftests/bpf/progs/ |
H A D | bpf_dctcp_release.c | 574ee209286755ae57449196bfa11a90d2d724e5 Tue Aug 24 12:30:26 CDT 2021 Martin KaFai Lau <kafai@fb.com> bpf: selftests: Add dctcp fallback test
This patch makes the bpf_dctcp test to fallback to cubic by using setsockopt(TCP_CONGESTION) when the tcp flow is not ecn ready.
It also checks setsockopt() is not available to release().
The settimeo() from the network_helpers.h is used, so the local one is removed.
Signed-off-by: Martin KaFai Lau <kafai@fb.com> Signed-off-by: Alexei Starovoitov <ast@kernel.org> Link: https://lore.kernel.org/bpf/20210824173026.3979130-1-kafai@fb.com
|
H A D | bpf_dctcp.c | diff 574ee209286755ae57449196bfa11a90d2d724e5 Tue Aug 24 12:30:26 CDT 2021 Martin KaFai Lau <kafai@fb.com> bpf: selftests: Add dctcp fallback test
This patch makes the bpf_dctcp test to fallback to cubic by using setsockopt(TCP_CONGESTION) when the tcp flow is not ecn ready.
It also checks setsockopt() is not available to release().
The settimeo() from the network_helpers.h is used, so the local one is removed.
Signed-off-by: Martin KaFai Lau <kafai@fb.com> Signed-off-by: Alexei Starovoitov <ast@kernel.org> Link: https://lore.kernel.org/bpf/20210824173026.3979130-1-kafai@fb.com
|
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | bpf_tcp_ca.c | diff 574ee209286755ae57449196bfa11a90d2d724e5 Tue Aug 24 12:30:26 CDT 2021 Martin KaFai Lau <kafai@fb.com> bpf: selftests: Add dctcp fallback test
This patch makes the bpf_dctcp test to fallback to cubic by using setsockopt(TCP_CONGESTION) when the tcp flow is not ecn ready.
It also checks setsockopt() is not available to release().
The settimeo() from the network_helpers.h is used, so the local one is removed.
Signed-off-by: Martin KaFai Lau <kafai@fb.com> Signed-off-by: Alexei Starovoitov <ast@kernel.org> Link: https://lore.kernel.org/bpf/20210824173026.3979130-1-kafai@fb.com
|