Page MenuHomeFreeBSD

tcp cc: re-organize newreno functions into parts that can be re-used
ClosedPublic

Authored by cc on Jul 19 2024, 8:08 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Nov 1, 5:44 AM
Unknown Object (File)
Fri, Oct 18, 6:29 PM
Unknown Object (File)
Fri, Oct 18, 4:13 PM
Unknown Object (File)
Thu, Oct 17, 4:20 AM
Unknown Object (File)
Sat, Oct 5, 5:31 PM
Unknown Object (File)
Oct 3 2024, 5:41 PM
Unknown Object (File)
Sep 24 2024, 11:56 PM
Unknown Object (File)
Sep 24 2024, 5:33 AM

Details

Summary

split some of the newreno AIMD functions into smaller parts that can be re-used by other TCP congestion control algorithms

Test Plan

no functional change

Diff Detail

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

Event Timeline

cc requested review of this revision.Jul 19 2024, 8:08 PM
cc edited the summary of this revision. (Show Details)
cc edited reviewers, added: rscheff, tuexen; removed: transport.
cc added a reviewer: transport.
cc edited the summary of this revision. (Show Details)
cc edited the test plan for this revision. (Show Details)
cc edited the summary of this revision. (Show Details)
cc edited the summary of this revision. (Show Details)

split this patch into two parts: this patch and D46546

cc retitled this revision from cc_cubic: use newreno to emulate AIMD in TCP-friendly region to tcp cc: re-organize newreno functions into parts that can be re-used.Sep 5 2024, 7:10 PM
cc edited the summary of this revision. (Show Details)
cc edited the test plan for this revision. (Show Details)
This revision is now accepted and ready to land.Sep 6 2024, 7:23 AM
sys/netinet/cc/cc.h
243

Maybe call the function newreno_cc_cwnd_on_multiplicative_decrease()?
This would use the prefix newreno_cc as the functions below and would avoid a confusion with multiple decreases.

245

Use newreno_cc_cwnd as prefix?

update function names based on Michael's suggestion

This revision now requires review to proceed.Sep 17 2024, 1:46 PM
cc marked 2 inline comments as done.Sep 17 2024, 1:48 PM
This revision is now accepted and ready to land.Sep 17 2024, 1:51 PM