aboutsummaryrefslogtreecommitdiffstats
path: root/tools/lib/bpf/bpf_helpers.h
diff options
context:
space:
mode:
authorMiao Xu <[email protected]>2024-05-02 04:23:17 +0000
committerMartin KaFai Lau <[email protected]>2024-05-02 23:26:56 +0000
commit0325cbd21e3c26eff88bc7da303ffb46b4f5d294 (patch)
tree0be09be46ced079b7b53b2b5fa528212c23daea7 /tools/lib/bpf/bpf_helpers.h
parenttcp: Add new args for cong_control in tcp_congestion_ops (diff)
downloadkernel-0325cbd21e3c26eff88bc7da303ffb46b4f5d294.tar.gz
kernel-0325cbd21e3c26eff88bc7da303ffb46b4f5d294.zip
bpf: tcp: Allow to write tp->snd_cwnd_stamp in bpf_tcp_ca
This patch allows the write of tp->snd_cwnd_stamp in a bpf tcp ca program. An use case of writing this field is to keep track of the time whenever tp->snd_cwnd is raised or reduced inside the `cong_control` callback. 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