Linux Documentation
 help / color / mirror / Atom feed
* [PATCH net-next v3 0/2] tcp: document and test MTU probing black hole fallback
@ 2026-11-23 11:04 Yongjian Wang via B4 Relay
  2026-11-23 11:04 ` [PATCH net-next v3 1/2] tcp: document black hole detection for tcp_mtu_probing Yongjian Wang via B4 Relay
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Yongjian Wang via B4 Relay @ 2026-11-23 11:04 UTC (permalink / raw)
  To: corbet, kuba, edumazet, pabeni, davem, shuah
  Cc: Yongjian Wang, ncardwell, kuniyu, rdunlap, linux-kselftest,
	linux-doc, linux-kernel, netdev, skhan, horms

ip-sysctl.rst does not say when TCP detects a black hole with
tcp_mtu_probing=1 or how the MSS drops afterwards. Patch 1 documents
both. Patch 2 adds a packetdrill test for the part that had no
coverage: each further retransmission timeout halves the MSS, down to
tcp_mtu_probe_floor.

On x86_64 KVM, the new test passed in IPv4, IPv6 and IPv4-mapped IPv6.
Variants expecting no floor or no halving failed in all three modes.

Changes in v3:
- Say that only timeouts at which a black hole is still detected lower
  search_low again, and that the floors take precedence over the
  tcp_base_mss cap (patch 1). Kept Eric's and Kuniyuki's tags since
  the change is limited to this sentence.
- Link to v2: https://lore.kernel.org/r/20261118-tcp-mtu-probing-doc-v1-v2-0-e795f20b8cfe@gmail.com

Changes in v2:
- Spell out the 200 ms RTO, say when the time starts and when it is
  checked, and give the resulting detection time (Eric, patch 1).
- Say that the MSS is only lowered, and that each further
  retransmission timeout lowers it again (Eric, patch 1).
- Add a test for tcp_mtu_probe_floor (patch 2).
- Link to v1: https://lore.kernel.org/r/20261117-tcp-mtu-probing-doc-v1-v1-1-552ae04de4ef@gmail.com

Signed-off-by: Yongjian Wang <echoowall@gmail.com>
---
Yongjian Wang (2):
      tcp: document black hole detection for tcp_mtu_probing
      selftests/net: packetdrill: test tcp_mtu_probe_floor

 Documentation/networking/ip-sysctl.rst             | 22 +++++++++++++
 .../tcp_mtu_probing_blackhole_floor.pkt            | 37 ++++++++++++++++++++++
 2 files changed, 59 insertions(+)
---
base-commit: 6ff4c5942a301675eb12e5b49d53a81e604624a1
change-id: 20261117-tcp-mtu-probing-doc-v1-351cb754fa7b

Best regards,
--  
Yongjian Wang <echoowall@gmail.com>



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

end of thread, other threads:[~2026-11-29 17:40 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-23 11:04 [PATCH net-next v3 0/2] tcp: document and test MTU probing black hole fallback Yongjian Wang via B4 Relay
2026-11-23 11:04 ` [PATCH net-next v3 1/2] tcp: document black hole detection for tcp_mtu_probing Yongjian Wang via B4 Relay
2026-11-23 11:04 ` [PATCH net-next v3 2/2] selftests/net: packetdrill: test tcp_mtu_probe_floor Yongjian Wang via B4 Relay
2026-11-29 17:40 ` [PATCH net-next v3 0/2] tcp: document and test MTU probing black hole fallback patchwork-bot+netdevbpf

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox