Re: [PATCH net-next v2 1/3] Add new args for cong_control in tcp_congestion_ops

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 1 May 2024 00:43:36 -0700 Miao Xu wrote:
> This patch adds two new arguments for cong_control of struct
> tcp_congestion_ops:
>  - ack
>  - flag
> These two arguments are inherited from the caller tcp_cong_control in
> tcp_intput.c. One use case of them is to update cwnd and pacing rate
> inside cong_control based on the info they provide. For example, the
> flag can be used to decide if it is the right time to raise or reduce a
> sender's cwnd.
> 
> Reviewed-by: Eric Dumazet <edumazet@xxxxxxxxxx>
> --

three dashes here ---

> Changes in v2:
> * Split the v1 patch into 2 separate patches. In particular, spin out
> bpf_tcp_ca.c as a separate patch because it is bpf specific.
> 
> Signed-off-by: Miao Xu <miaxu@xxxxxxxx>

This goes after Eric's review tag.

Looks like you need to adjust one of the BPF selftests:

Error: #29/14 bpf_tcp_ca/tcp_ca_kfunc
  Error: #29/14 bpf_tcp_ca/tcp_ca_kfunc
  libbpf: extern (func ksym) 'bbr_main': func_proto [213] incompatible with vmlinux [48152]
  libbpf: failed to load object 'tcp_ca_kfunc'
  libbpf: failed to load BPF skeleton 'tcp_ca_kfunc': -22
  test_tcp_ca_kfunc:FAIL:tcp_ca_kfunc__open_and_load unexpected error: -22




[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux