summaryrefslogtreecommitdiffstats
path: root/samples/bpf/Makefile
diff options
context:
space:
mode:
authorLawrence Brakmo <brakmo@fb.com>2017-07-01 05:02:48 +0200
committerDavid S. Miller <davem@davemloft.net>2017-07-02 01:15:14 +0200
commitd9925368a641391f38cd281e67b948e6b6f3bcca (patch)
tree8eb3087d8e67417dcc0892908fac9b1921e55b8b /samples/bpf/Makefile
parentbpf: Add TCP connection BPF callbacks (diff)
downloadlinux-d9925368a641391f38cd281e67b948e6b6f3bcca.tar.xz
linux-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/