]> 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)
commite34085d78cef9a6fdb6432697a4be3db415292cf
tree160a15867876634565a91f33bf4a02fef0bc4e7c
parent66b4097423abe94629f3b0916db2903c8858a63a
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]