Page MenuHomeFreeBSD

tcp: add sysctl to allow/disallow TSO during SACK loss recovery
ClosedPublic

Authored by rscheff on May 2 2024, 7:50 PM.
Tags
None
Referenced Files
F163234397: D45068.id138240.diff
Tue, Jul 21, 7:17 AM
Unknown Object (File)
Sun, Jul 19, 4:23 PM
Unknown Object (File)
Sat, Jul 18, 3:31 PM
Unknown Object (File)
Fri, Jul 10, 11:58 AM
Unknown Object (File)
Fri, Jun 26, 4:25 PM
Unknown Object (File)
Jun 21 2026, 7:06 PM
Unknown Object (File)
Jun 16 2026, 7:07 PM
Unknown Object (File)
Jun 15 2026, 3:36 AM
Subscribers

Details

Summary

In preparation for the planned changes around making it possible
for TSO to remain operational during SACk loss recovery, add
a sysctl to retain the current behavior

'''net.inet.tcp.sack.tso = 0'''

Once the related changes are committed, the plan is to switch this
in main to "1" - and either retain this for the next release branch,
or revert the setting to 0 depending on feedback.

Note: Prior to D43355 and D43470, the SACK loss recovery code in
tcp_output is broken and would transmit excessively when TSO is
active.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable