RE: [RFC PATCH v4 bpf-next 03/12] tcp: bpf: Add TCP_BPF_RTO_MIN for bpf_setsockopt

2020-08-03 Thread John Fastabend
Martin KaFai Lau wrote: > This patch adds bpf_setsockopt(TCP_BPF_RTO_MIN) to allow bpf prog > to set the min rto of a connection. It could be used together > with the earlier patch which has added bpf_setsockopt(TCP_BPF_DELACK_MAX). > > A later selftest patch will communicate the max delay ack in

[RFC PATCH v4 bpf-next 03/12] tcp: bpf: Add TCP_BPF_RTO_MIN for bpf_setsockopt

2020-08-03 Thread Martin KaFai Lau
This patch adds bpf_setsockopt(TCP_BPF_RTO_MIN) to allow bpf prog to set the min rto of a connection. It could be used together with the earlier patch which has added bpf_setsockopt(TCP_BPF_DELACK_MAX). A later selftest patch will communicate the max delay ack in a bpf tcp header option and then