summaryrefslogtreecommitdiff
path: root/net/bpf
diff options
context:
space:
mode:
authorMartin KaFai Lau <kafai@fb.com>2021-03-25 04:52:46 +0300
committerAlexei Starovoitov <ast@kernel.org>2021-03-27 06:41:52 +0300
commit78e60bbbe8e8f614b6a453d8a780d9e6f77749a8 (patch)
treeb4016d6f0cee3eb8f9559e7f4ea5e8fac01b83fe /net/bpf
parent39cd9e0f6783fd2dd2b0e95500e34575b3707ed8 (diff)
downloadlinux-78e60bbbe8e8f614b6a453d8a780d9e6f77749a8.tar.xz
bpf: selftests: Bpf_cubic and bpf_dctcp calling kernel functions
This patch removes the bpf implementation of tcp_slow_start() and tcp_cong_avoid_ai(). Instead, it directly uses the kernel implementation. It also replaces the bpf_cubic_undo_cwnd implementation by directly calling tcp_reno_undo_cwnd(). bpf_dctcp also directly calls tcp_reno_cong_avoid() instead. Signed-off-by: Martin KaFai Lau <kafai@fb.com> Signed-off-by: Alexei Starovoitov <ast@kernel.org> Acked-by: Andrii Nakryiko <andrii@kernel.org> Link: https://lore.kernel.org/bpf/20210325015246.1551062-1-kafai@fb.com
Diffstat (limited to 'net/bpf')
0 files changed, 0 insertions, 0 deletions