HomeFreeBSD

tcp: improve compilation of cc and their helper modules

Description

tcp: improve compilation of cc and their helper modules

  • Allow the congestion control modules CDG, CHD, HD, and vegas also to be compiled into the kernel for IPv6 only kernel configs.
  • Compile the helper module h_ertt for round trip time estimation only into the kernel, if one of the congestion control module using it (one of CDG, CDH, HD, or vegas) is also compiled into the kernel.

Please note the second point implies that TCP TSO is done whenever
possible as long as none of the congestion control modules CDG, CHD,
HD, or vegas is loaded or compiled into the kernel.

Reviewed by: cc
Sponsored by: Netflix, Inc.
Differential Revision: https://reviews.freebsd.org/D52547

(cherry picked from commit 1bb72d3d6eee50232b6d6acbc201f9aaac93e2b5)

Details

Provenance
tuexenAuthored on Sep 16 2025, 9:30 PM
Reviewer
cc
Differential Revision
D52547: tcp: improve compilation of cc and their helper modules
Parents
rGdbff73873577: cpucontrol: return selected revision from ucode_amd_find()
Branches
Unknown
Tags
Unknown