bpf: Adds support for setting initial cwnd
authorLawrence Brakmo <brakmo@fb.com>
Sat, 1 Jul 2017 03:02:51 +0000 (20:02 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sat, 1 Jul 2017 23:15:14 +0000 (16:15 -0700)
commitfc7478103c84af437ca3bfae71a82631f770bf7e
tree1206a0518c692212f01c133a8aac0c9385946fc6
parentbb56d4449d8b8de1f22a07f007bb91cb30fcc7cc
bpf: Adds support for setting initial cwnd

Adds a new bpf_setsockopt for TCP sockets, TCP_BPF_IW, which sets the
initial congestion window. This can be used when the hosts are far
apart (large RTTs) and it is safe to start with a large inital cwnd.

Signed-off-by: Lawrence Brakmo <brakmo@fb.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/uapi/linux/bpf.h
net/core/filter.c