Skip to content

tcp: allow to reduce max RTO

Eric Dumazet netdev 1 version 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

  1. v1 Latest5 patches 17 repliesApplied 5/5

Patches in v1 All 5 applied

#Subject and filesSizeRepliesApplied
1/5tcp: remove tcp_reset_xmit_timer() @max_when argumentinclude/net/tcp.h net/ipv4/tcp_input.c net/ipv4/tcp_output.c+8 -113 repliesApplied
2/5tcp: add a @pace_delay parameter to tcp_reset_xmit_timer()include/net/tcp.h net/ipv4/tcp_input.c net/ipv4/tcp_output.c+11 -93 repliesApplied
3/5tcp: use tcp_reset_xmit_timer()net/ipv4/tcp_fastopen.c net/ipv4/tcp_input.c net/ipv4/tcp_ipv4.c +2 more+18 -213 repliesApplied
4/5tcp: add the ability to control max RTODocumentation/networking/net_cachelines/inet_connection_sock.rst include/net/inet_connection_sock.h include/net/tcp.h +6 more+39 -175 repliesApplied
5/5tcp: add tcp_rto_max_ms sysctlDocumentation/networking/ip-sysctl.rst Documentation/networking/net_cachelines/netns_ipv4_sysctl.rst include/net/netns/ipv4.h +3 more+29 -33 repliesApplied

Reviews trailers per patch

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

PatchJason XingNeal CardwellKuniyuki Iwashima
1/5R-b R-b R-b
2/5R-b R-b R-b
3/5R-b R-b R-b
4/5R-b R-b R-b
5/5R-b R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v1 thread

Cover letter [PATCH net-next 0/5] tcp: allow to reduce max RTO

This is a followup of a discussion started 6 months ago by Jason Xing.

Some applications want to lower the time between each retransmit attempts.

TCP_KEEPINTVL and TCP_KEEPCNT socket options don't work around the issue.

This series adds:

- a new TCP level socket option (TCP_RTO_MAX_MS)
- a new sysctl (/proc/sys/net/ipv4/tcp_rto_max_ms)

Admins and/or applications can now change the max rto value at their own risk.

Eric Dumazet (5):
tcp: remove tcp_reset_xmit_timer() @max_when argument
tcp: add a @pace_delay parameter to tcp_reset_xmit_timer()
tcp: use tcp_reset_xmit_timer()
tcp: add the ability to control max RTO
tcp: add tcp_rto_max_ms sysctl

 Documentation/networking/ip-sysctl.rst        | 13 ++++++++
 .../net_cachelines/inet_connection_sock.rst   |  1 +
 .../net_cachelines/netns_ipv4_sysctl.rst      |  1 +
 include/net/inet_connection_sock.h            |  1 +
 include/net/netns/ipv4.h                      |  1 +
 include/net/tcp.h                             | 23 +++++++++-----
 include/uapi/linux/tcp.h                      |  1 +
 net/ipv4/sysctl_net_ipv4.c                    | 10 ++++++
 net/ipv4/tcp.c                                | 14 ++++++++-
 net/ipv4/tcp_fastopen.c                       |  4 +--
 net/ipv4/tcp_input.c                          | 19 +++++-------
 net/ipv4/tcp_ipv4.c                           |  6 ++--
 net/ipv4/tcp_output.c                         | 17 +++++-----
 net/ipv4/tcp_timer.c                          | 31 ++++++++++---------
 14 files changed, 93 insertions(+), 49 deletions(-)
Signature · 1 line
2.48.1.502.g6dc24dfdaf-goog