Skip to content

RDS: TCP: Enable mprds for rds-tcp

Sowmini Varadhan netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5RDS: TCP: avoid bad page reference in rds_tcp_listen_data_readynet/rds/tcp.c net/rds/tcp.h net/rds/tcp_listen.c+10 -00 replies
2/5RDS: TCP: Reduce code duplication in rds_tcp_reset_callbacks()net/rds/tcp.c+4 -180 replies
3/5RDS: TCP: Enable multipath RDS for TCPnet/rds/bind.c net/rds/connection.c net/rds/message.c +8 more+257 -301 reply
4/5Documentation: RDS: updates for SO_RDS_TRANSPORT socket optionDocumentation/networking/rds.txt+16 -10 replies
5/5Documentation: RDS: Document Multipath RDS (mprds)Documentation/networking/rds.txt+55 -00 replies

Reviews trailers per patch

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

PatchSantosh Shilimkar
1/5A-b
2/5A-b
3/5A-b
4/5A-b
5/5A-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/5] RDS: TCP: Enable mprds for rds-tcp

The third, and final, installment for mprds-tcp changes.

In Patch 3 of this set, if the transport support t_mp_capable, we hash outgoing traffic across multiple paths. Additionally, even if the transport is MP capable, we may be peering with some node that does not support mprds, or supports a different number of paths. This necessitates RDS control plane changes so that both peers agree on the number of paths to be used for the rds-tcp connection. Patch 3 implements all these changes, which are documented in patch 5 of the series.

Patch 1 of this series is a bug fix for a race-condition that has always existed, but is now more easily encountered with mprds. Patch 2 is code refactoring. Patches 4 and 5 are Documentation updates.

Sowmini Varadhan (5):
RDS: TCP: avoid bad page reference in rds_tcp_listen_data_ready
RDS: TCP: Reduce code duplication in rds_tcp_reset_callbacks()
RDS: TCP: Enable multipath RDS for TCP
Documentation: RDS: updates for SO_RDS_TRANSPORT socket option
Documentation: RDS: Document Multipath RDS (mprds)

 Documentation/networking/rds.txt |   72 ++++++++++++++++++++++++++++++++++++-
 net/rds/bind.c                   |    6 +++
 net/rds/connection.c             |   17 ++++-----
 net/rds/message.c                |    1 +
 net/rds/rds.h                    |   25 ++++++++++++-
 net/rds/recv.c                   |   75 ++++++++++++++++++++++++++++++++++++++
 net/rds/send.c                   |   71 ++++++++++++++++++++++++++++++++++--
 net/rds/tcp.c                    |   31 ++++++----------
 net/rds/tcp.h                    |    1 +
 net/rds/tcp_connect.c            |    7 +++-
 net/rds/tcp_listen.c             |   65 +++++++++++++++++++++++++++++----
 net/rds/tcp_send.c               |   18 +++++++---
 net/rds/threads.c                |    2 +
 13 files changed, 342 insertions(+), 49 deletions(-)