mbox series

[bpf-next,v1,0/2] bpf: add mrtt and srtt as ctx->args for BPF_SOCK_OPS_RTT_CB

Message ID 20240425161724.73707-1-lulie@linux.alibaba.com (mailing list archive)
Headers show
Series bpf: add mrtt and srtt as ctx->args for BPF_SOCK_OPS_RTT_CB | expand

Message

Philo Lu April 25, 2024, 4:17 p.m. UTC
These provides more information about tcp RTT estimation. The selftest for
BPF_SOCK_OPS_RTT_CB is extended for the added args.

changelogs
-> v1:
- extend rtt selftest for added args (suggested by Stanislav)

Philo Lu (2):
  bpf: add mrtt and srtt as BPF_SOCK_OPS_RTT_CB args
  selftests/bpf: extend BPF_SOCK_OPS_RTT_CB test for srtt and mrtt_us

 include/net/tcp.h                                |  4 ++--
 include/uapi/linux/bpf.h                         |  2 ++
 net/ipv4/tcp_input.c                             |  4 ++--
 tools/include/uapi/linux/bpf.h                   |  2 ++
 tools/testing/selftests/bpf/prog_tests/tcp_rtt.c | 14 ++++++++++++++
 tools/testing/selftests/bpf/progs/tcp_rtt.c      |  6 ++++++
 6 files changed, 28 insertions(+), 4 deletions(-)

--
2.32.0.3.g01195cf9f

Comments

patchwork-bot+netdevbpf@kernel.org April 25, 2024, 10:10 p.m. UTC | #1
Hello:

This series was applied to bpf/bpf-next.git (master)
by Martin KaFai Lau <martin.lau@kernel.org>:

On Fri, 26 Apr 2024 00:17:22 +0800 you wrote:
> These provides more information about tcp RTT estimation. The selftest for
> BPF_SOCK_OPS_RTT_CB is extended for the added args.
> 
> changelogs
> -> v1:
> - extend rtt selftest for added args (suggested by Stanislav)
> 
> [...]

Here is the summary with links:
  - [bpf-next,v1,1/2] bpf: add mrtt and srtt as BPF_SOCK_OPS_RTT_CB args
    https://git.kernel.org/bpf/bpf-next/c/48e2cd3e3dcf
  - [bpf-next,v1,2/2] selftests/bpf: extend BPF_SOCK_OPS_RTT_CB test for srtt and mrtt_us
    https://git.kernel.org/bpf/bpf-next/c/7eb4f66b3806

You are awesome, thank you!