Page MenuHomeFreeBSD

Fixes in the tcp infrastructure with respect to stack changes as well as other infrastructure updates for incoming rack features.
ClosedPublic

Authored by rrs on Mar 22 2023, 4:58 PM.
Tags
None
Referenced Files
Unknown Object (File)
Jan 30 2024, 2:11 PM
Unknown Object (File)
Jan 13 2024, 8:35 AM
Unknown Object (File)
Dec 23 2023, 12:30 AM
Unknown Object (File)
Oct 14 2023, 7:09 AM
Unknown Object (File)
Oct 14 2023, 7:09 AM
Unknown Object (File)
Oct 14 2023, 7:09 AM
Unknown Object (File)
Oct 14 2023, 7:09 AM
Unknown Object (File)
Oct 14 2023, 7:09 AM
Subscribers

Details

Summary

So stack switching as always been a bit of a issue. We currently use a break before make setup which means that
if something goes wrong you have to try to get back to a stack. This patch among a lot of other things changes that so
that it is a make before break. We also expand some of the function blocks in prep for new features in rack that will allow
more controlled pacing. We also add other abilities such as the pathway for a stack to query a previous stack to acquire from
it critical state information so things in flight don't get dropped or mis-handled when switching stacks. We also add the
concept of a timer granularity. This allows an alternate stack to change from the old ticks granularity to microseconds and
of course this even gives us a pathway to go to nanosecond timekeeping if we need to (something for the data center to consider
for sure).

Once all this lands I will then update rack to begin using all these new features.

Test Plan

A basic set of tests is to actually put it all in and make sure tcp still works. Exchange data, switch stacks etc.

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped