summaryrefslogtreecommitdiffstats
path: root/samples/bpf/Makefile
diff options
context:
space:
mode:
authorLawrence Brakmo2017-07-01 05:02:50 +0200
committerDavid S. Miller2017-07-02 01:15:14 +0200
commitbb56d4449d8b8de1f22a07f007bb91cb30fcc7cc (patch)
treef267b7163aa103e842705e765a2cf726b0a7f6a4 /samples/bpf/Makefile
parentbpf: Add support for changing congestion control (diff)
downloadkernel-qcow2-linux-bb56d4449d8b8de1f22a07f007bb91cb30fcc7cc.tar.gz
kernel-qcow2-linux-bb56d4449d8b8de1f22a07f007bb91cb30fcc7cc.tar.xz
kernel-qcow2-linux-bb56d4449d8b8de1f22a07f007bb91cb30fcc7cc.zip
bpf: Sample BPF program to set congestion control
Sample BPF program that sets congestion control to dctcp when both hosts are within the same datacenter. In this example that is assumed to be when they have the first 5.5 bytes of their IPv6 address are the same. 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 3b300db3d74d..6fdf32dffa92 100644
--- a/samples/bpf/Makefile
+++ b/samples/bpf/Makefile
@@ -116,6 +116,7 @@ always += cookie_uid_helper_example.o
always += tcp_synrto_kern.o
always += tcp_rwnd_kern.o
always += tcp_bufs_kern.o
+always += tcp_cong_kern.o
HOSTCFLAGS += -I$(objtree)/usr/include
HOSTCFLAGS += -I$(srctree)/tools/lib/