Page MenuHomeFreeBSD

Build RACK and BBR TCP stacks as a part of LINT
ClosedPublic

Authored by gallatin on Dec 29 2022, 9:48 PM.
Tags
None
Referenced Files
F102971112: D37903.id114642.diff
Tue, Nov 19, 8:31 AM
F102961899: D37903.diff
Tue, Nov 19, 6:06 AM
Unknown Object (File)
Sat, Oct 26, 8:58 PM
Unknown Object (File)
Sat, Oct 26, 2:33 PM
Unknown Object (File)
Sat, Oct 26, 8:42 AM
Unknown Object (File)
Oct 18 2024, 10:28 PM
Unknown Object (File)
Oct 1 2024, 3:44 PM
Unknown Object (File)
Oct 1 2024, 3:37 PM

Details

Summary

When RACK and BBR were added to the kernel, they were hidden behind ' WITH_EXTRA_TCP_STACKS=1'. Unfortunately, that was never added to any NOTES file, so RACK is not tested with the various LINT-NOINET, LINT-NOINET6, and LINT-NOIP kernels. This leads to the stacks sometimes being broken in these kernels, since changes to them are not build tested. I discovered this because I have WITH_EXTRA_TCP_STACKS=1 in my src.conf, and saw 'make universe' fail when testing another change.

This change fixes rack so that it compiles with the LINT-NO* kernels, and adds WITH_EXTRA_TCP_STACKS=1 to all NOTES kernels (trying to follow the style in each NOTES file), so that rack and bbr are compile tested regularly.

This change does not alter the supported status of RACK or BBR, and replaces D37715

Diff Detail

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

Event Timeline

I actually prefer D37715. Isn't that what we have discussed on the TCP call on December 15th?

sys/arm/conf/NOTES
85 ↗(On Diff #114642)

I think that you could add this to sys/conf/NOTES instead of all the arch NOTES files.

Add WITH_EXTRA_TCP_STACKS to common NOTES file, as suggested by @imp

I actually prefer D37715. Isn't that what we have discussed on the TCP call on December 15th?

That's a bit more than I want to take on..

sys/arm/conf/NOTES
85 ↗(On Diff #114642)

Thanks, that's so much cleaner!

@gallatin transport Has had anyone the time to look at https://reviews.freebsd.org/D36538? At least TCPHPTS should be included somewhere and the documentation should also be updated!

In D37903#861938, @gbe wrote:

@gallatin transport Has had anyone the time to look at https://reviews.freebsd.org/D36538? At least TCPHPTS should be included somewhere and the documentation should also be updated!

I left a comment on that review. For this review, HPTS is included in LINT. And the scope of this is to simply ensure these stacks compile..

Rebased to today's current.

This revision is now accepted and ready to land.Jan 10 2023, 9:07 PM