]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'bpf-tcp-rtt-hook'
authorDaniel Borkmann <daniel@iogearbox.net>
Wed, 3 Jul 2019 14:52:03 +0000 (16:52 +0200)
committerDaniel Borkmann <daniel@iogearbox.net>
Wed, 3 Jul 2019 14:52:03 +0000 (16:52 +0200)
commitab6de7d1c81f7787fb7e4556f6479b53336d894b
tree6ef3c235c14a2ed5352d166637965af44cd8e103
parent05ec36e1f38f2736746ed24e0da3cd2d07c2625c
parentf9bcfe96d7dbebd23b4071626c3181cd7bfcc8c9
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 <edumazet@google.com>
Cc: Eric Dumazet <edumazet@google.com>
Cc: Priyaranjan Jha <priyarjha@google.com>
Cc: Yuchung Cheng <ycheng@google.com>
Cc: Soheil Hassas Yeganeh <soheil@google.com>
Acked-by: Soheil Hassas Yeganeh <soheil@google.com>
Acked-by: Yuchung Cheng <ycheng@google.com>
Acked-by: Yonghong Song <yhs@fb.com>
Acked-by: Lawrence Brakmo <brakmo@fb.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>