]> www.infradead.org Git - users/willy/xarray.git/commit
tcp: add sysctl_tcp_rto_min_us
authorKevin Yang <yyd@google.com>
Mon, 3 Jun 2024 21:30:54 +0000 (21:30 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 5 Jun 2024 12:42:54 +0000 (13:42 +0100)
commitf086edef71be7174a16c1ed67ac65a085cda28b1
tree3af89709786e212616a07d06b4c0a184efdfce49
parent512bd0f9f926a05c724a9fd72bc4e14213845e01
tcp: add sysctl_tcp_rto_min_us

Adding a sysctl knob to allow user to specify a default
rto_min at socket init time, other than using the hard
coded 200ms default rto_min.

Note that the rto_min route option has the highest precedence
for configuring this setting, followed by the TCP_BPF_RTO_MIN
socket option, followed by the tcp_rto_min_us sysctl.

Signed-off-by: Kevin Yang <yyd@google.com>
Reviewed-by: Neal Cardwell <ncardwell@google.com>
Reviewed-by: Yuchung Cheng <ycheng@google.com>
Reviewed-by: Eric Dumazet <edumazet@google.com>
Reviewed-by: Tony Lu <tonylu@linux.alibaba.com>
Reviewed-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Documentation/networking/ip-sysctl.rst
include/net/netns/ipv4.h
net/ipv4/sysctl_net_ipv4.c
net/ipv4/tcp.c
net/ipv4/tcp_ipv4.c