Re: [PATCH v7 net-next 0/2] Explicit TSO segment count

Jakub Kicinski <[email protected]>
Newsgroups org.kernel.vger.netdev,org.kernel.vger.bpf,org.kernel.vger.linux-kselftest
Message-ID <[email protected]>
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)
          |              ^
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.