]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'bpf-BASE_RTT'
authorDavid S. Miller <davem@davemloft.net>
Sun, 22 Oct 2017 02:12:06 +0000 (03:12 +0100)
committerDavid S. Miller <davem@davemloft.net>
Sun, 22 Oct 2017 02:12:06 +0000 (03:12 +0100)
commit9a66ccda9292648fe3662b494db550ea43f3c244
treef9043ce7c3f1f8ab0304477bb7af8d86cc8b617c
parentbe547f126e276e2996716f744f558b44906497ba
parentf1c4d8fff3a42e577866bd75ec744406c83b3ee3
Merge branch 'bpf-BASE_RTT'

Lawrence Brakmo says:

====================
bpf: add support for BASE_RTT

This patch set adds the following functionality to socket_ops BPF
programs.
1) Add bpf helper function bpf_getsocketops. Currently only supports
   TCP_CONGESTION
2) Add BPF_SOCKET_OPS_BASE_RTT op to get the base RTT of the
   connection. In general, the base RTT indicates the threshold such
   that RTTs above it indicate congestion. More details in the
   relevant patches.

Consists of the following patches:

[PATCH net-next 1/5] bpf: add support for BPF_SOCK_OPS_BASE_RTT
[PATCH net-next 2/5] bpf: Adding helper function bpf_getsockops
[PATCH net-next 3/5] bpf: Add BPF_SOCKET_OPS_BASE_RTT support to
[PATCH net-next 4/5] bpf: sample BPF_SOCKET_OPS_BASE_RTT program
[PATCH net-next 5/5] bpf: create samples/bpf/tcp_bpf.readme
====================

Signed-off-by: David S. Miller <davem@davemloft.net>