Skip to content

net/rds: RDS-TCP protocol and extension improvements

Allison Henderson linux-kselftest linux-rdma netdev 5 versions – Applied

Status from this message: This series was applied to netdev/net-next.git (main)

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v5 Latest8 patches 0 repliesApplied 8/8
  2. v48 patches 2 repliesSuperseded
  3. v38 patches 0 repliesSuperseded
Earlier versions · 2
VersionPostedPatchesRepliesStatus
v27 patches2 repliesSuperseded
v17 patches3 repliesSuperseded

Changes in v5 from the cover letter

[PATCH net-next v3 08/8] net/rds: Trigger rds_send_ping() more than once
- Fixed patch author

Patches in v5 All 8 applied

#Subject and filesSizeRepliesApplied
1/8net/rds: new extension header: rdma bytesnet/rds/ib_send.c net/rds/message.c net/rds/rds.h +1 more+107 -290 repliesApplied
2/8net/rds: Encode cp_index in TCP source portnet/rds/message.c net/rds/rds.h net/rds/recv.c +4 more+77 -70 repliesApplied
3/8net/rds: rds_tcp_conn_path_shutdown must not discard messagesnet/rds/tcp.c net/rds/tcp.h net/rds/tcp_connect.c +3 more+76 -50 repliesApplied
4/8net/rds: Kick-start TCP receiver after acceptnet/rds/tcp_listen.c+2 -00 repliesApplied
5/8net/rds: Clear reconnect pending bitnet/rds/connection.c+2 -00 repliesApplied
6/8net/rds: Update struct rds_statistics to use u64 instead of uint64_tnet/rds/rds.h+36 -360 repliesApplied
7/8net/rds: Use the first lane until RDS_EXTHDR_NPATHS arrivesnet/rds/rds.h net/rds/recv.c net/rds/send.c +1 more+90 -390 repliesApplied
8/8net/rds: Trigger rds_send_ping() more than oncenet/rds/connection.c net/rds/rds.h net/rds/recv.c +3 more+72 -170 repliesApplied

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v5 yet.

Read the v5 thread

Cover letter [PATCH net-next v5 0/8] net/rds: RDS-TCP protocol and extension improvements

From: Allison Henderson <[email protected]>

Hi all,

This is subset 3 of the larger RDS-TCP patch series I posted last Oct. The greater series aims to correct multiple rds-tcp issues that can cause dropped or out of sequence messages. I've broken it down into smaller sets to make reviews more manageable.

In this set, we introduce extension headers for byte accounting and fix several RDS/TCP protocol issues including message preservation during connection transitions and multipath lane handling.

The entire set can be viewed in the rfc here:
https://lore.kernel.org/netdev/[email protected]/

Questions, comments, flames appreciated!

Thanks,
Allison

Change Log:
v2:
[PATCH net-next v2 1/7] net/rds: new extension header: rdma bytes
- Fixed AI complaints for uninitalized structs

[PATCH net-next v2 2/7] net/rds: Encode cp_index in TCP source port
- Fixed line length checkpatch complaints

[PATCH net-next v2 3/7] net/rds: rds_tcp_conn_path_shutdown must not discard messages
- Added sk convenience variable to reduce dereferencing and line wrapping
- Fixed line length checkpatch complaints

[PATCH net-next v2 6/7] net/rds: Use the first lane until
- Added rds_mprds_cp0_catchup helper to de-nest rds_send_xmit
- Fixed line length checkpatch complaints

[PATCH net-next v2 7/7] net/rds: Trigger rds_send_ping() more than once
- Fixed ai complaints for comment clarification

v3:
[PATCH net-next v3 1/8] net/rds: new extension header: rdma bytes
- Addressed ai complaints about unpacked/unpadded rds_ext_header_rdma_bytes
- Added return code checks to rds_message_add_extension

[PATCH net-next v3 06/8] net/rds: Update struct rds_statistics to use u64 instead of uint64_t
- NEW

[PATCH net-next v3 6/8] net/rds: Use the first lane until
- Fixed Prefer kernel type 'u64' over 'uint64_t' warnings

[PATCH net-next v3 08/8] net/rds: Trigger rds_send_ping() more than once
- Addressed ai complaints for comment clarification

v4:
[PATCH net-next v4 1/8] net/rds: new extension header: rdma bytes
- Fixed line length checkpatch complaints

[PATCH net-next v4 2/8] net/rds: Encode cp_index in TCP source port
- Addressed ai complaints for kernel_getpeername return code handling

v5:
[PATCH net-next v3 08/8] net/rds: Trigger rds_send_ping() more than once
- Fixed patch author

Allison Henderson (1):
net/rds: Update struct rds_statistics to use u64 instead of uint64_t

Gerd Rausch (5):
net/rds: Encode cp_index in TCP source port net/rds: rds_tcp_conn_path_shutdown must not discard messages net/rds: Kick-start TCP receiver after accept net/rds: Use the first lane until RDS_EXTHDR_NPATHS arrives net/rds: Trigger rds_send_ping() more than once

Håkon Bugge (1):
net/rds: Clear reconnect pending bit

Shamir Rabinovitch (1):
net/rds: new extension header: rdma bytes

 net/rds/connection.c  |   7 ++-
 net/rds/ib_send.c     |  40 ++++++++++---
 net/rds/message.c     |  66 ++++++++++++++++-----
 net/rds/rds.h         | 105 ++++++++++++++++++++--------------
 net/rds/recv.c        |  37 ++++++++++--
 net/rds/send.c        | 130 +++++++++++++++++++++++++++++-------------
 net/rds/stats.c       |   1 +
 net/rds/tcp.c         |   1 +
 net/rds/tcp.h         |   7 ++-
 net/rds/tcp_connect.c |  79 +++++++++++++++++++++++--
 net/rds/tcp_listen.c  |  92 +++++++++++++++++++++++++++---
 net/rds/tcp_recv.c    |   4 ++
 net/rds/tcp_send.c    |   2 +-
 13 files changed, 450 insertions(+), 121 deletions(-)
Signature · 1 line
2.43.0