[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20220608174843.1936060-1-jthinz@mailbox.tu-berlin.de>
Date: Wed, 8 Jun 2022 19:48:41 +0200
From: Jörn-Thorben Hinz <jthinz@...lbox.tu-berlin.de>
To: <bpf@...r.kernel.org>
CC: Alexei Starovoitov <ast@...nel.org>,
Daniel Borkmann <daniel@...earbox.net>,
Andrii Nakryiko <andrii@...nel.org>, <netdev@...r.kernel.org>,
Jörn-Thorben Hinz <jthinz@...lbox.tu-berlin.de>
Subject: [PATCH bpf-next 0/2] Align BPF TCP CCs implementing cong_control() with non-BPF CCs
Hello there,
hope, I’m in the right place with bpf-next. Previous changes to
bpf_tcp_ca.c seemed to have gone here, besides the MAINTAINERS file and
get_maintainer.pl hinting more towards the neighboring net-next.
This small series corrects some inconveniences for a BPF TCP CC that
implements and uses tcp_congestion_ops.cong_control(). Until now, such a
CC did not have all necessary write access to struct sock and
unnecessarily needed to implement cong_avoid().
Jörn-Thorben Hinz (2):
bpf: Allow a TCP CC to write sk_pacing_rate and sk_pacing_status
bpf: Require only one of cong_avoid() and cong_control() from a TCP CC
net/ipv4/bpf_tcp_ca.c | 7 +++++++
1 file changed, 7 insertions(+)
--
2.30.2
Powered by blists - more mailing lists