summaryrefslogtreecommitdiff
path: root/samples/bpf/Makefile
diff options
context:
space:
mode:
authorLawrence Brakmo <brakmo@fb.com>2017-06-30 20:02:48 -0700
committerDavid S. Miller <davem@davemloft.net>2017-07-01 16:15:14 -0700
commitd9925368a641391f38cd281e67b948e6b6f3bcca (patch)
tree8eb3087d8e67417dcc0892908fac9b1921e55b8b /samples/bpf/Makefile
parent9872a4bde31b0b055448e9ac1f4c9ee62d978766 (diff)
downloadlwn-d9925368a641391f38cd281e67b948e6b6f3bcca.tar.gz
lwn-d9925368a641391f38cd281e67b948e6b6f3bcca.zip
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/Makefile1
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/