Skip to content

mptcp: add receive buffer auto-tuning

Florian Westphal mptcp netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2selftests: mptcp: add option to specify size of file to transfertools/testing/selftests/net/mptcp/mptcp_connect.sh+39 -131 reply
2/2mptcp: add receive buffer auto-tuningnet/mptcp/protocol.c net/mptcp/protocol.h net/mptcp/subflow.c+127 -81 reply

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchMatthieu Baerts
1/2R-b
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH net-next 0/2] mptcp: add receive buffer auto-tuning

First patch extends the test script to allow for reproducible results. Second patch adds receive auto-tuning. Its based on what TCP is doing, only difference is that we use the largest RTT of any of the subflows and that we will update all subflows with the new value.

Else, we get spurious packet drops because the mptcp work queue might not be able to move packets from subflow socket to master socket fast enough. Without the adjustment, TCP may drop the packets because the subflow socket is over its rcvbuffer limit.

Florian Westphal (2):
selftests: mptcp: add option to specify size of file to transfer
mptcp: add receive buffer auto-tuning

 net/mptcp/protocol.c                               | 123 +++++++++++++++++++--
 net/mptcp/protocol.h                               |   7 ++
 net/mptcp/subflow.c                                |   5 +-
 tools/testing/selftests/net/mptcp/mptcp_connect.sh |  52 ++++++---
 4 files changed, 166 insertions(+), 21 deletions(-)