Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

congure_quic: initial import of QUIC congestion control #15952

Merged
merged 2 commits into from
Oct 17, 2022

Conversation

miri64
Copy link
Member

@miri64 miri64 commented Feb 8, 2021

Contribution description

This provides an implementation for CongURE of the congestion control mechanism of the QUIC protocol as specified in draft-ietf-quic-recovery (version 34 at the opening of this PR). It has the advantage of having congestion control via loss and ECN already build in and also provides means for packet pacing, so perfect for SFR!

Testing procedure

Tests are provided for which riotctrl (at least v0.2.2) is required for them to run. If installed,

make -j -C tests/congure_quic flash test

should succeed.

Issues/PRs references

Requires #15951 (merged), #16111, and #16119. (merged) When merged, I will adapt the test framework to use the turo framework introduced in #15950, which was the original idea to begin with (which is why it is already printing JSON strings).
PR dependency graph

@miri64 miri64 added Type: new feature The issue requests / The PR implemements a new feature for RIOT State: waiting for other PR State: The PR requires another PR to be merged first Area: sys Area: System labels Feb 8, 2021
@miri64
Copy link
Member Author

miri64 commented Feb 9, 2021

Maybe @larseggert also wants to take a look.

@miri64 miri64 force-pushed the congure/feat/congure_quic branch 2 times, most recently from 7a11318 to 3b5f6ca Compare February 11, 2021 20:08
@miri64
Copy link
Member Author

miri64 commented Feb 26, 2021

Rebased to current master, needs some adaptions to the changes done in #15951, so I am marking this WIP temporarily.

@miri64 miri64 added State: WIP State: The PR is still work-in-progress and its code is not in its final presentable form yet and removed State: waiting for other PR State: The PR requires another PR to be merged first labels Feb 26, 2021
@miri64
Copy link
Member Author

miri64 commented Feb 26, 2021

Adapted tests for behavior changes of congure_test in #15951.

@miri64
Copy link
Member Author

miri64 commented Feb 26, 2021

And added the new Kconfig stuff (which does not work properly yet, since dependency resolution of ztimer is a bit messy... @leandrolanzieri said he will have a look).

@miri64 miri64 added the State: waiting for other PR State: The PR requires another PR to be merged first label Mar 1, 2021
@miri64
Copy link
Member Author

miri64 commented Mar 1, 2021

The test framework needed some rework (see #16111) to handle longer parameters, so I will base this PR now on that.

@miri64 miri64 force-pushed the congure/feat/congure_quic branch from 95e5479 to c6e9a42 Compare March 2, 2021 09:54
@miri64
Copy link
Member Author

miri64 commented Mar 2, 2021

Rebased to current master and dependencies and added #16119 as new dependency.

@maribu maribu added CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR and removed CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR labels Oct 13, 2022
@miri64
Copy link
Member Author

miri64 commented Oct 14, 2022

I'm fine with this one going in only after feature freeze and clearing up the Murdock queue for now.

@miri64 miri64 added CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR and removed CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR labels Oct 14, 2022
@miri64 miri64 enabled auto-merge October 14, 2022 14:55
Copy link
Contributor

@benpicco benpicco left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking good, Makefile.ci needs two more entries.

sys/congure/quic/congure_quic.c Outdated Show resolved Hide resolved
sys/congure/quic/congure_quic.c Outdated Show resolved Hide resolved
@miri64 miri64 merged commit 68b9637 into RIOT-OS:master Oct 17, 2022
@miri64 miri64 deleted the congure/feat/congure_quic branch October 17, 2022 13:02
@kaspar030 kaspar030 added this to the Release 2023.01 milestone Jan 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: doc Area: Documentation Area: Kconfig Area: Kconfig integration Area: sys Area: System Area: tests Area: tests and testing framework CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR CI: run tests If set, CI server will run tests on hardware for the labeled PR Type: new feature The issue requests / The PR implemements a new feature for RIOT
Projects
None yet
Development

Successfully merging this pull request may close these issues.