diff options
| author | Chia-Yu Chang <chia-yu.chang@nokia-bell-labs.com> | 2026-08-31 18:52:30 +0200 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2026-09-05 11:18:56 -0700 |
| commit | f69a0944415fdac663565482d56250c5350f130b (patch) | |
| tree | c7f60f3fdec037ede5ad778f43186c9e8daf9995 /scripts/Makefile.thinlto | |
| parent | cb145191e9d3f29e14cb7386c57181c3dab1bb68 (diff) | |
| download | linux-next-f69a0944415fdac663565482d56250c5350f130b.tar.gz linux-next-f69a0944415fdac663565482d56250c5350f130b.zip | |
bpf: make tcp_tso_autosize() available to BPF congestion controls
Expose tcp_tso_autosize() as a BPF kfunc and register it in the TCP
congestion-control kfunc set. This allows BPF congestion controls to
reuse the kernel TSO autosizing logic while applying their own
minimum TSO segment policy.
To make the kfunc robust against BPF-provided inputs, min_tso_segs is
sanitized to at least 1 and mss_now == 0 returns the sanitized minimum
value instead of performing autosizing.
Signed-off-by: Chia-Yu Chang <chia-yu.chang@nokia-bell-labs.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
