]> git.baikalelectronics.ru Git - kernel.git/commit
bpf: Sample BPF program to set initial cwnd
authorLawrence Brakmo <brakmo@fb.com>
Sat, 1 Jul 2017 03:02:52 +0000 (20:02 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sat, 1 Jul 2017 23:15:14 +0000 (16:15 -0700)
commit76b884cb14165f48d39b78c44bc483aa136fad23
tree160a15867876634565a91f33bf4a02fef0bc4e7c
parent9d34bc207e12499983f2186d95f4e9a4aff1eb3b
bpf: Sample BPF program to set initial cwnd

Sample BPF program that assumes hosts are far away (i.e. large RTTs)
and sets initial cwnd and initial receive window to 40 packets,
send and receive buffers to 1.5MB.

In practice there would be a test to insure the hosts are actually
far enough away.

Signed-off-by: Lawrence Brakmo <brakmo@fb.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
samples/bpf/Makefile
samples/bpf/tcp_iw_kern.c [new file with mode: 0644]