On Fri, 14 Aug 2026 19:30:32 +0200 [email protected]
wrote:
> Please find the v7 explicit tso segment count series.
> It replacece min_tso_segs() with tso_segs() CC callback and make
> tcp_tso_autosize() available to BPF congestion controls.
progs/tcp_ca_kfunc.c:115:15: error: conflicting types for 'tso_segs'
115 | void BPF_PROG(tso_segs, struct sock *sk, u32 mss_now)
| ^
progs/tcp_ca_kfunc.c:95:14: note: previous definition is here
95 | u32 BPF_PROG(tso_segs, struct sock *sk, u32 mss_now)
| ^
progs/tcp_ca_kfunc.c:115:15: error: redefinition of 'tso_segs'
115 | void BPF_PROG(tso_segs, struct sock *sk, u32 mss_now)
| ^
progs/tcp_ca_kfunc.c:95:14: note: previous definition is here
95 | u32 BPF_PROG(tso_segs, struct sock *sk, u32 mss_now)
| ^