Here are two patches from Paolo that have been crafted a couple of
months ago, but needed more validation because they were indirectly
causing instabilities in the sefltests. The root cause has been fixed in
'net' recently in commit 8c09412e584d ("selftests: mptcp: more stable
simult_flows tests").These patches refactor the receive space and RTT estimator, overall making DRS more correct while avoiding receive buffer drifting to tcp_rmem[2], which in turn makes the throughput more stable and less bursty, especially with high bandwidth and low delay environments. Note that the first patch addresses a very old issue. 'net-next' is targeted because the change is quite invasive and based on a recent backlog refactor. The 'Fixes' tag is then there more as a FYI, because backporting this patch will quickly be blocked due to large conflicts. Signed-off-by: Matthieu Baerts (NGI0) <[email protected]> --- Paolo Abeni (2): mptcp: better mptcp-level RTT estimator mptcp: add receive queue awareness in tcp_rcv_space_adjust() include/trace/events/mptcp.h | 2 +- net/mptcp/protocol.c | 71 +++++++++++++++++++++++++------------------- net/mptcp/protocol.h | 38 +++++++++++++++++++++++- 3 files changed, 78 insertions(+), 33 deletions(-) --- base-commit: 0bcac7b11262557c990da1ac564d45777eb6b005 change-id: 20260306-net-next-mptcp-reduce-rbuf-4166ba6fb763 Best regards, -- Matthieu Baerts (NGI0) <[email protected]>
