Commit 2253d8e
Valentin Obst
net/tcp: add Rust implementation of CUBIC
CUBIC is the default CCA since 2.6.18.
Missing features compared to the C implementation:
- configuration via module parameters,
- exporting callbacks to BPF programs as kfuncs.
Changes compared to the C implementation:
- uses only SI units for time, i.e., no jiffies and `BICTCP_HZ`,
Signed-off-by: Valentin Obst <kernel@valentinobst.de>1 parent 67c08f7 commit 2253d8e
3 files changed
Lines changed: 524 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
526 | 526 | | |
527 | 527 | | |
528 | 528 | | |
| 529 | + | |
| 530 | + | |
| 531 | + | |
| 532 | + | |
| 533 | + | |
| 534 | + | |
| 535 | + | |
| 536 | + | |
| 537 | + | |
529 | 538 | | |
530 | 539 | | |
531 | 540 | | |
| |||
719 | 728 | | |
720 | 729 | | |
721 | 730 | | |
| 731 | + | |
| 732 | + | |
| 733 | + | |
722 | 734 | | |
723 | 735 | | |
724 | 736 | | |
| |||
759 | 771 | | |
760 | 772 | | |
761 | 773 | | |
| 774 | + | |
762 | 775 | | |
763 | 776 | | |
764 | 777 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
| 52 | + | |
52 | 53 | | |
53 | 54 | | |
54 | 55 | | |
| |||
0 commit comments