diff options
| author | Daniel Borkmann <[email protected]> | 2019-07-03 14:52:03 +0000 |
|---|---|---|
| committer | Daniel Borkmann <[email protected]> | 2019-07-03 14:52:03 +0000 |
| commit | e5a3e259ef239f443951d401db10db7d426c9497 (patch) | |
| tree | 6ef3c235c14a2ed5352d166637965af44cd8e103 /tools/lib/bpf/str_error.c | |
| parent | selftests: bpf: standardize to static __always_inline (diff) | |
| parent | samples/bpf: fix tcp_bpf.readme detach command (diff) | |
| download | kernel-e5a3e259ef239f443951d401db10db7d426c9497.tar.gz kernel-e5a3e259ef239f443951d401db10db7d426c9497.zip | |
Merge branch 'bpf-tcp-rtt-hook'
Stanislav Fomichev says:
====================
Congestion control team would like to have a periodic callback to
track some TCP statistics. Let's add a sock_ops callback that can be
selectively enabled on a socket by socket basis and is executed for
every RTT. BPF program frequency can be further controlled by calling
bpf_ktime_get_ns and bailing out early.
I run neper tcp_stream and tcp_rr tests with the sample program
from the last patch and didn't observe any noticeable performance
difference.
v2:
* add a comment about second accept() in selftest (Yonghong Song)
* refer to tcp_bpf.readme in sample program (Yonghong Song)
====================
Suggested-by: Eric Dumazet <[email protected]>
Cc: Eric Dumazet <[email protected]>
Cc: Priyaranjan Jha <[email protected]>
Cc: Yuchung Cheng <[email protected]>
Cc: Soheil Hassas Yeganeh <[email protected]>
Acked-by: Soheil Hassas Yeganeh <[email protected]>
Acked-by: Yuchung Cheng <[email protected]>
Acked-by: Yonghong Song <[email protected]>
Acked-by: Lawrence Brakmo <[email protected]>
Signed-off-by: Daniel Borkmann <[email protected]>
Diffstat (limited to 'tools/lib/bpf/str_error.c')
0 files changed, 0 insertions, 0 deletions
