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)
Fri, Nov 22, 11:33 AM
Unknown Object (File)
Oct 5 2024, 9:16 AM
Unknown Object (File)
Sep 26 2024, 4:20 AM
Unknown Object (File)
Sep 24 2024, 11:36 PM
Unknown Object (File)
Sep 21 2024, 10:51 PM
Unknown Object (File)
Sep 18 2024, 4:38 AM
Unknown Object (File)
Sep 17 2024, 7:40 PM
Unknown Object (File)
Sep 16 2024, 12:56 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