Commit 1986ac1
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 7bbc728 commit 1986ac1
3 files changed
Lines changed: 524 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
527 | 527 | | |
528 | 528 | | |
529 | 529 | | |
| 530 | + | |
| 531 | + | |
| 532 | + | |
| 533 | + | |
| 534 | + | |
| 535 | + | |
| 536 | + | |
| 537 | + | |
| 538 | + | |
530 | 539 | | |
531 | 540 | | |
532 | 541 | | |
| |||
720 | 729 | | |
721 | 730 | | |
722 | 731 | | |
| 732 | + | |
| 733 | + | |
| 734 | + | |
723 | 735 | | |
724 | 736 | | |
725 | 737 | | |
| |||
760 | 772 | | |
761 | 773 | | |
762 | 774 | | |
| 775 | + | |
763 | 776 | | |
764 | 777 | | |
765 | 778 | | |
| |||
| 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