[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20220617202128.h5cmcyth4ddspkia@kafai-mbp>
Date: Fri, 17 Jun 2022 13:21:28 -0700
From: Martin KaFai Lau <kafai@...com>
To: Jörn-Thorben Hinz <jthinz@...lbox.tu-berlin.de>
Cc: bpf@...r.kernel.org, Alexei Starovoitov <ast@...nel.org>,
Daniel Borkmann <daniel@...earbox.net>,
Andrii Nakryiko <andrii@...nel.org>, netdev@...r.kernel.org
Subject: Re: [PATCH bpf-next v3 1/5] bpf: Allow a TCP CC to write
sk_pacing_rate and sk_pacing_status
On Tue, Jun 14, 2022 at 12:44:48PM +0200, Jörn-Thorben Hinz wrote:
> A CC that implements tcp_congestion_ops.cong_control() should be able to
> control sk_pacing_rate and set sk_pacing_status, since
> tcp_update_pacing_rate() is never called in this case. A built-in CC or
> one from a kernel module is already able to write to both struct sock
> members. For a BPF program, write access has not been allowed, yet.
>
> Signed-off-by: Jörn-Thorben Hinz <jthinz@...lbox.tu-berlin.de>
Reviewed-by: Martin KaFai Lau <kafai@...com>
Powered by blists - more mailing lists