Age | Commit message (Collapse) | Author | |
---|---|---|---|
2017-11-11 | bpf: Fix tcp_bufs_kern.c sample program | Lawrence Brakmo | |
The program was returning -1 in some cases which is not allowed by the verifier any longer. Fixes: 390ee7e29fc8 ("bpf: enforce return code for cgroup-bpf programs") Signed-off-by: Lawrence Brakmo <brakmo@fb.com> Signed-off-by: David S. Miller <davem@davemloft.net> | |||
2017-07-01 | bpf: Sample BPF program to set buffer sizes | Lawrence Brakmo | |
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> |