aboutsummaryrefslogtreecommitdiffstats
path: root/tools/lib/bpf/bpf_helpers.h
diff options
context:
space:
mode:
authorMiao Xu <[email protected]>2024-05-02 04:23:16 +0000
committerMartin KaFai Lau <[email protected]>2024-05-02 23:26:56 +0000
commit57bfc7605ca5b102ba336779ae9adbc5bbba1d96 (patch)
tree64660f733da0fc7270741e7822326c6c705e03fa /tools/lib/bpf/bpf_helpers.h
parentMerge branch 'selftests/bpf: Add sockaddr tests for kernel networking' (diff)
downloadkernel-57bfc7605ca5b102ba336779ae9adbc5bbba1d96.tar.gz
kernel-57bfc7605ca5b102ba336779ae9adbc5bbba1d96.zip
tcp: Add new args for cong_control in tcp_congestion_ops
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 <[email protected]> Signed-off-by: Miao Xu <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Martin KaFai Lau <[email protected]>
Diffstat (limited to 'tools/lib/bpf/bpf_helpers.h')
0 files changed, 0 insertions, 0 deletions