On Tue, Mar 16, 2021 at 12:02 AM Martin KaFai Lau <kafai@xxxxxx> wrote: > > 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@xxxxxx> > --- This is awesome. Acked-by: Andrii Nakryiko <andrii@xxxxxxxxxx> > tools/testing/selftests/bpf/bpf_tcp_helpers.h | 29 ++----------------- > tools/testing/selftests/bpf/progs/bpf_cubic.c | 6 ++-- > tools/testing/selftests/bpf/progs/bpf_dctcp.c | 22 ++++---------- > 3 files changed, 11 insertions(+), 46 deletions(-) > [...]