From: Chia-Yu Chang <[email protected]> Hello,
This series replaces the existing min_tso_segs() congestion control callback with a new tso_segs() callback that allows congestion control algorithms to provide an explicit TSO segment count for each data burst. To support BPF congestion controls, the series also exposes tcp_tso_autosize() as a BPF kfunc, allowing BPF implementations to reuse the kernel TSO autosizing logic while implementing custom tso_segs() callbacks. Changes since v8: - Remove deprecated flag on bbr_min_tso_segs() Thanks, Chia-Yu --- Chia-Yu Chang (2): tcp: Replace min_tso_segs() with tso_segs() CC callback bpf: make tcp_tso_autosize() available to BPF congestion controls include/net/tcp.h | 15 ++++++++-- net/ipv4/bpf_tcp_ca.c | 5 ++-- net/ipv4/tcp_bbr.c | 13 +++++++-- net/ipv4/tcp_output.c | 28 ++++++++++++------- .../selftests/bpf/progs/tcp_ca_kfunc.c | 8 +++--- 5 files changed, 48 insertions(+), 21 deletions(-) -- 2.34.1
