summaryrefslogtreecommitdiffstats
path: root/include/uapi/linux/bpf.h
diff options
context:
space:
mode:
authorLawrence Brakmo2017-07-01 05:02:48 +0200
committerDavid S. Miller2017-07-02 01:15:14 +0200
commitd9925368a641391f38cd281e67b948e6b6f3bcca (patch)
tree8eb3087d8e67417dcc0892908fac9b1921e55b8b /include/uapi/linux/bpf.h
parentbpf: Add TCP connection BPF callbacks (diff)
downloadkernel-qcow2-linux-d9925368a641391f38cd281e67b948e6b6f3bcca.tar.gz
kernel-qcow2-linux-d9925368a641391f38cd281e67b948e6b6f3bcca.tar.xz
kernel-qcow2-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 'include/uapi/linux/bpf.h')
0 files changed, 0 insertions, 0 deletions