Page MenuHomeFreeBSD

tcp cc: split the cc relevant part of cc_post_recovery() and move them into cc modules.
Needs ReviewPublic

Authored by cc on Thu, Sep 3, 9:11 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Sep 26, 8:07 AM
Unknown Object (File)
Sun, Sep 20, 11:29 PM
Unknown Object (File)
Sat, Sep 19, 12:27 AM
Unknown Object (File)
Fri, Sep 18, 10:11 PM
Unknown Object (File)
Thu, Sep 17, 6:34 PM
Unknown Object (File)
Wed, Sep 16, 12:49 AM
Unknown Object (File)
Tue, Sep 15, 4:33 PM
Unknown Object (File)
Mon, Sep 14, 4:00 PM

Details

Reviewers
rscheff
tuexen
Group Reviewers
transport
Summary

The logic in cc_post_recovery() actually has two parts: pre_post_recovery logic and post_recovery logic. So introduce this split.

Improves each individual cc's responsibility for congestion control. As each
registered .cong_signal() enters RECOVERY, so each registered
.post_recovery() exits RECOVERY from each cc module in an organized place.
This improves code reading.

Currently, each cc module shares the same post_recovery() function, but that
is not necessary a MUST. This allows later individual cc improvement.

No impact to rack and bbr.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 76439
Build 73322: arc lint + arc unit