diff options
author | Lawrence Brakmo <brakmo@fb.com> | 2017-07-01 06:02:48 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-07-02 02:15:14 +0300 |
commit | d9925368a641391f38cd281e67b948e6b6f3bcca (patch) | |
tree | 8eb3087d8e67417dcc0892908fac9b1921e55b8b /samples/bpf/Makefile | |
parent | 9872a4bde31b0b055448e9ac1f4c9ee62d978766 (diff) | |
download | linux-d9925368a641391f38cd281e67b948e6b6f3bcca.tar.xz |
bpf: Sample BPF program to set buffer sizes
This patch contains a BPF program to set initial receive window to
40 packets and send and receive buffers to 1.5MB. This would usually
be done after doing appropriate checks that indicate the hosts are
far enough away (i.e. large RTT).
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 ca955280cbeb..3b300db3d74d 100644 --- a/samples/bpf/Makefile +++ b/samples/bpf/Makefile @@ -115,6 +115,7 @@ always += test_map_in_map_kern.o always += cookie_uid_helper_example.o always += tcp_synrto_kern.o always += tcp_rwnd_kern.o +always += tcp_bufs_kern.o HOSTCFLAGS += -I$(objtree)/usr/include HOSTCFLAGS += -I$(srctree)/tools/lib/ |