Skip to content

RDS:TCP data structure changes for multipath support

Sowmini Varadhan netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest9 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/9RDS: Rework path specific indirectionsnet/rds/connection.c net/rds/ib.c net/rds/ib.h +9 more+29 -400 replies
2/9RDS: TCP: Remove dead logic around c_passive in rds-tcpnet/rds/tcp.c+1 -60 replies
3/9RDS: TCP: Make rds_tcp_connection track the rds_conn_pathnet/rds/connection.c net/rds/tcp.c net/rds/tcp.h +2 more+48 -420 replies
4/9RDS: TCP: Refactor connection destruction to handle multiple pathsnet/rds/tcp.c+39 -70 replies
5/9RDS: TCP: make ->sk_user_data point to a rds_conn_pathnet/rds/tcp.c net/rds/tcp.h net/rds/tcp_connect.c +3 more+41 -400 replies
6/9RDS: TCP: make receive path use the rds_conn_pathnet/rds/ib.c net/rds/ib.h net/rds/ib_recv.c +6 more+26 -220 replies
7/9RDS: TCP: Hooks to set up a single connection pathnet/rds/ib.c net/rds/ib.h net/rds/ib_cm.c +6 more+20 -170 replies
8/9RDS: TCP: Simplify reconnect to avoid duelling reconnnect attemptsnet/rds/connection.c net/rds/threads.c+6 -30 replies
9/9RDS: Do not send a pong to an incoming ping with 0 src portnet/rds/recv.c+4 -00 replies

Reviews trailers per patch

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

PatchSantosh Shilimkar
1/9A-b
2/9A-b
3/9A-b
4/9A-b
5/9A-b
6/9A-b
7/9A-b
8/9A-b
9/9A-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/9] RDS:TCP data structure changes for multipath support

The second installment of changes to enable multipath support in RDS-TCP. This series implements the changes in rds-tcp so that the rds_conn_path has a pointer to the rds_tcp_connection in cp_transport_data. Struct rds_tcp_connection keeps track of the inet_sk per path in t_sock. The ->sk_user_data in turn is a pointer to the rds_conn_path. With this set of changes, rds_tcp has the needed plumbing to handle multiple paths(socket) per rds_connection.

Sowmini Varadhan (9):
RDS: Rework path specific indirections
RDS: TCP: Remove dead logic around c_passive in rds-tcp
RDS: TCP: Make rds_tcp_connection track the rds_conn_path
RDS: TCP: Refactor connection destruction to handle multiple paths
RDS: TCP: make ->sk_user_data point to a rds_conn_path
RDS: TCP: make receive path use the rds_conn_path
RDS: TCP: Hooks to set up a single connection path
RDS: TCP: Simplify reconnect to avoid duelling reconnnect attempts
RDS: Do not send a pong to an incoming ping with 0 src port

 net/rds/connection.c  |   39 ++++++--------
 net/rds/ib.c          |    8 ++--
 net/rds/ib.h          |    8 ++--
 net/rds/ib_cm.c       |    6 ++-
 net/rds/ib_recv.c     |    3 +-
 net/rds/ib_send.c     |    3 +-
 net/rds/loop.c        |   14 +++---
 net/rds/rds.h         |    7 +--
 net/rds/recv.c        |    4 ++
 net/rds/send.c        |   16 ++-----
 net/rds/tcp.c         |  130 +++++++++++++++++++++++++++++++------------------
 net/rds/tcp.h         |   22 ++++----
 net/rds/tcp_connect.c |   38 ++++++++-------
 net/rds/tcp_listen.c  |   16 +++---
 net/rds/tcp_recv.c    |   39 ++++++++-------
 net/rds/tcp_send.c    |   20 ++++----
 net/rds/threads.c     |   12 +++-
 17 files changed, 211 insertions(+), 174 deletions(-)