]> git.baikalelectronics.ru Git - kernel.git/commit
bpf: Sample BPF program to set congestion control
authorLawrence Brakmo <brakmo@fb.com>
Sat, 1 Jul 2017 03:02:50 +0000 (20:02 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sat, 1 Jul 2017 23:15:14 +0000 (16:15 -0700)
commit1c1f3e3ffcda32ddb81eda5cee0f126735051494
treef267b7163aa103e842705e765a2cf726b0a7f6a4
parenta4161d089e0a5d16c191a0e5abb5e6325d2ace4e
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>
samples/bpf/Makefile
samples/bpf/tcp_cong_kern.c [new file with mode: 0644]