netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next 0/2] tcp: show the right value of TCP_MIB_RTOMIN
@ 2024-06-06 15:03 Jason Xing
  2024-06-06 15:03 ` [PATCH net-next 1/2] tcp: fix showing wrong rtomin in snmp file when using route option Jason Xing
  2024-06-06 15:03 ` [PATCH net-next 2/2] tcp: fix showing wrong rtomin in snmp file when setting sysctl_tcp_rto_min_us Jason Xing
  0 siblings, 2 replies; 8+ messages in thread
From: Jason Xing @ 2024-06-06 15:03 UTC (permalink / raw)
  To: edumazet, kuba, pabeni, davem, dsahern, ncardwell
  Cc: netdev, kerneljasonxing, Jason Xing

From: Jason Xing <kernelxing@tencent.com>

When doing 'cat /proc/net/snmp' if we already tune the tcp rto min by
using 'sysctl -w' or 'ip route', the result always the same 200 ms.
However, it cannot reflect the real situation because the minimum value
of rto min can be changed smaller than TCP_RTO_MIN.

Jason Xing (2):
  tcp: fix showing wrong rtomin in snmp file when using route option
  tcp: fix showing wrong rtomin in snmp file when setting
    sysctl_tcp_rto_min_us

 include/net/tcp.h  |  2 ++
 net/ipv4/metrics.c |  4 ++++
 net/ipv4/proc.c    | 15 +++++++++++++++
 3 files changed, 21 insertions(+)

-- 
2.37.3


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2024-06-06 15:51 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-06-06 15:03 [PATCH net-next 0/2] tcp: show the right value of TCP_MIB_RTOMIN Jason Xing
2024-06-06 15:03 ` [PATCH net-next 1/2] tcp: fix showing wrong rtomin in snmp file when using route option Jason Xing
2024-06-06 15:14   ` Eric Dumazet
2024-06-06 15:40     ` Jason Xing
2024-06-06 15:43       ` Eric Dumazet
2024-06-06 15:50         ` Jason Xing
2024-06-06 15:03 ` [PATCH net-next 2/2] tcp: fix showing wrong rtomin in snmp file when setting sysctl_tcp_rto_min_us Jason Xing
2024-06-06 15:17   ` Eric Dumazet

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).