summaryrefslogtreecommitdiff
path: root/samples/bpf/tcp_bufs_kern.c
AgeCommit message (Collapse)AuthorFilesLines
2017-07-02bpf: Sample BPF program to set buffer sizesLawrence Brakmo1-0/+86
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>