Skip to content

bpf: add mrtt and srtt as ctx->args for BPF_SOCK_OPS_RTT_CB

Philo Lu bpf 1 version Applied

Status from this message: This series was applied to bpf/bpf-next.git (master)

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 0 repliesApplied 2/2

Patches in v1 All 2 applied

#Subject and filesSizeRepliesApplied
1/2bpf: add mrtt and srtt as BPF_SOCK_OPS_RTT_CB argsinclude/net/tcp.h include/uapi/linux/bpf.h net/ipv4/tcp_input.c +1 more+8 -40 repliesApplied
2/2selftests/bpf: extend BPF_SOCK_OPS_RTT_CB test for srtt and mrtt_ustools/testing/selftests/bpf/prog_tests/tcp_rtt.c tools/testing/selftests/bpf/progs/tcp_rtt.c+20 -00 repliesApplied

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

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

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