diff options
author | Lawrence Brakmo <brakmo@fb.com> | 2017-07-01 05:02:49 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-07-02 01:15:14 +0200 |
commit | 91b5b21c7c16899abb37f4a9e4388b4e9aae0b9d (patch) | |
tree | ff5989374783d9f11e822906a98e94d08a6f135a /samples | |
parent | bpf: Sample BPF program to set buffer sizes (diff) | |
download | linux-91b5b21c7c16899abb37f4a9e4388b4e9aae0b9d.tar.xz linux-91b5b21c7c16899abb37f4a9e4388b4e9aae0b9d.zip |
bpf: Add support for changing congestion control
Added support for changing congestion control for SOCK_OPS bpf
programs through the setsockopt bpf helper function. It also adds
a new SOCK_OPS op, BPF_SOCK_OPS_NEEDS_ECN, that is needed for
congestion controls, like dctcp, that need to enable ECN in the
SYN packets.
Signed-off-by: Lawrence Brakmo <brakmo@fb.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions