aboutsummaryrefslogtreecommitdiffstats
path: root/samples/bpf/tcp_cong_kern.c (follow)
AgeCommit message (Collapse)AuthorFilesLines
2017-07-01bpf: Sample BPF program to set congestion controlLawrence Brakmo1-0/+83
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>