diff options
author | Lawrence Brakmo <brakmo@fb.com> | 2017-07-01 06:02:54 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-07-02 02:15:14 +0300 |
commit | 6c4a01b27852347cd3c4d2bf0dadf157ea6c3c40 (patch) | |
tree | b6b16a42bee5779e1ca658061ea6f97b4b8e6011 /samples/bpf/Makefile | |
parent | 13bf96411ad2bd162a4f9470d58c6bb579c96e21 (diff) | |
download | linux-6c4a01b27852347cd3c4d2bf0dadf157ea6c3c40.tar.xz |
bpf: Sample bpf program to set sndcwnd clamp
Sample BPF program, tcp_clamp_kern.c, to demostrate the use
of setting the sndcwnd clamp. This program assumes that if the
first 5.5 bytes of the host's IPv6 addresses are the same, then
the hosts are in the same datacenter and sets sndcwnd clamp to
100 packets, SYN and SYN-ACK RTOs to 10ms and send/receive buffer
sizes to 150KB.
Signed-off-by: Lawrence Brakmo <brakmo@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 242d76e84a4b..9c650589e80f 100644 --- a/samples/bpf/Makefile +++ b/samples/bpf/Makefile @@ -118,6 +118,7 @@ always += tcp_rwnd_kern.o always += tcp_bufs_kern.o always += tcp_cong_kern.o always += tcp_iw_kern.o +always += tcp_clamp_kern.o HOSTCFLAGS += -I$(objtree)/usr/include HOSTCFLAGS += -I$(srctree)/tools/lib/ |