Skip to content

Conversation

@kernel-patches-bot
Copy link

Pull request for series with
subject: Align BPF TCP CCs implementing cong_control() with non-BPF CCs
version: 1
url: https://patchwork.kernel.org/project/netdevbpf/list/?series=648595

@kernel-patches-bot
Copy link
Author

Master branch: d352bd8
series: https://patchwork.kernel.org/project/netdevbpf/list/?series=648595
version: 1

@kernel-patches-bot
Copy link
Author

At least one diff in series https://patchwork.kernel.org/project/netdevbpf/list/?series=648595 expired. Closing PR.

Kernel Patches Daemon and others added 3 commits June 9, 2022 13:52
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@mailbox.tu-berlin.de>
Remove the check for required and optional functions in a struct
tcp_congestion_ops from bpf_tcp_ca.c. Rely on
tcp_register_congestion_control() to reject a BPF CC that does not
implement all required functions, as it will do for a non-BPF CC.

When a CC implements tcp_congestion_ops.cong_control(), the alternate
cong_avoid() is not in use in the TCP stack. Previously, a BPF CC was
still forced to implement cong_avoid() as a no-op since it was
non-optional in bpf_tcp_ca.c.

Signed-off-by: Jörn-Thorben Hinz <jthinz@mailbox.tu-berlin.de>
@kernel-patches-bot
Copy link
Author

Master branch: fe92833
series: https://patchwork.kernel.org/project/netdevbpf/list/?series=648987
version: 2

@kernel-patches-bot
Copy link
Author

At least one diff in series https://patchwork.kernel.org/project/netdevbpf/list/?series=648987 expired. Closing PR.

@kernel-patches-bot kernel-patches-bot deleted the series/648595=>bpf-next branch June 12, 2022 14:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants