[PATCH net-next v5 0/4] TCP Prague preparation series

From: chia-yu . chang

Date: Mon Nov 30 2026 - 07:57:34 EST


From: Chia-Yu Chang <chia-yu.chang@xxxxxxxxxxxxxxxxxxx>

Hello,

Please find v5 of the TCP Prague preparation series. TCP Prague will
be submitted as a follow-up series.

This series includes:
(1) Export CE information in rate_sample through acked_sacked_ce;
(2) Rename the ECN transmit helper to better reflect its behavior;
(3) Add TCP_ECN_SEND_ECT_1 to allow congestion control modules to select
ECT(1) after ECN negotiation;
(4) Add an MSS ceiling callback to allow congestion control modules to
limit tp->mss_cache.

Changes since v4:
- Rebased onto the latest net-next tree
- Clarified acked_sacked_ce semantics for AccECN and RFC3168 ECN
- Added detailed documentation for ECN transmit helpers
- Clear TCP_ECN_SEND_ECT_1 when switching congestion control modules
- Move mss_ceiling() handling to tcp_sync_mss()
- Document mss_ceiling() semantics and add reference material
- Add BPF support for mss_ceiling()

Please refer to the changelog in individual patches for further details.

Best regards,
Chia-Yu

---
Chia-Yu Chang (3):
tcp: rename ECN transmit helper function
tcp: add TCP_ECN_SEND_ECT_1 flag for congestion control
tcp: add MSS ceiling callback for congestion control

Ilpo Järvinen (1):
tcp: export CE count in rate_sample

include/net/tcp.h | 15 ++++++++++++++
include/net/tcp_ecn.h | 47 +++++++++++++++++++++++++++++++++++++++----
net/ipv4/bpf_tcp_ca.c | 7 +++++++
net/ipv4/tcp_cong.c | 16 ++++++++++++---
net/ipv4/tcp_input.c | 36 +++++++++++++++------------------
net/ipv4/tcp_output.c | 29 +++++++++++++++++++++++++-
6 files changed, 122 insertions(+), 28 deletions(-)

--
2.34.1