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
F109144858: D46046.id142983.diff
Sat, Feb 1, 9:33 AM
Unknown Object (File)
Fri, Jan 31, 11:56 PM
Unknown Object (File)
Mon, Jan 27, 5:07 PM
Unknown Object (File)
Mon, Jan 27, 5:04 PM
Unknown Object (File)
Mon, Jan 27, 4:40 PM
Unknown Object (File)
Sun, Jan 26, 5:59 PM
Unknown Object (File)
Sun, Jan 26, 5:38 PM
Unknown Object (File)
Fri, Jan 24, 5:53 PM

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 58740
Build 55628: 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