diff options
author | Lawrence Brakmo <brakmo@fb.com> | 2017-10-20 21:05:42 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-10-22 05:12:05 +0300 |
commit | c890063e440456e75c2e70f6bcec3797f1771eb6 (patch) | |
tree | 81e2bf2415e67f9d54a668aa0b5e775c0981a53d /samples/bpf/Makefile | |
parent | 85cce215781685bbc94b6af2bd1aa40b71965a70 (diff) | |
download | linux-c890063e440456e75c2e70f6bcec3797f1771eb6.tar.xz |
bpf: sample BPF_SOCKET_OPS_BASE_RTT program
Sample socket_ops BPF program to test the BPF helper function
bpf_getsocketops and the new socket_ops op BPF_SOCKET_OPS_BASE_RTT.
The program provides a base RTT of 80us when the calling flow is
within a DC (as determined by the IPV6 prefix) and the congestion
algorithm is "nv".
Signed-off-by: Lawrence Brakmo <brakmo@fb.com>
Acked-by: Daniel Borkmann <daniel@iogearbox.net>
Acked_by: Alexei Starovoitov <ast@fb.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'samples/bpf/Makefile')
-rw-r--r-- | samples/bpf/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/samples/bpf/Makefile b/samples/bpf/Makefile index 3534ccfb5920..ea2b9e6135f3 100644 --- a/samples/bpf/Makefile +++ b/samples/bpf/Makefile @@ -129,6 +129,7 @@ always += tcp_bufs_kern.o always += tcp_cong_kern.o always += tcp_iw_kern.o always += tcp_clamp_kern.o +always += tcp_basertt_kern.o always += xdp_redirect_kern.o always += xdp_redirect_map_kern.o always += xdp_redirect_cpu_kern.o |