-
Notifications
You must be signed in to change notification settings - Fork 126
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
feat(transport): pass ECN CE marks to CC #1689
Conversation
5fe6803
to
7dd116b
Compare
Rebasing onto latest #1678 now. Edit: ✔️ |
37e6db6
to
0f3772b
Compare
The remaining bits from mozilla#1495 The remaining todo item after this PR is to actually act on incoming CE marks, i.e., trigger a congestion control action. See mozilla#1689
Signed-off-by: Lars Eggert <[email protected]>
Signed-off-by: Lars Eggert <[email protected]>
ci(interop): run ecn test
Co-authored-by: Max Inden <[email protected]> Signed-off-by: Lars Eggert <[email protected]>
Co-authored-by: Max Inden <[email protected]> Signed-off-by: Lars Eggert <[email protected]>
If this makes ngtcp2 happy, refactor into separate PR.
Signed-off-by: Lars Eggert <[email protected]>
Pass ECN CE marks received through FRAME_TYPE_ACK_ECN frames to the congestion controler.
* feat: Send and process ACK-ECN The remaining bits from #1495 The remaining todo item after this PR is to actually act on incoming CE marks, i.e., trigger a congestion control action. See #1689 * Modifier * Fix botched merge * Fix merge * Rework * Add more tests that hopefully cover all cases. * WIP * Tests passing * More tests * Minimize diff * ci(interop): run ecn test * Update neqo-transport/src/connection/tests/ecn.rs Co-authored-by: Max Inden <[email protected]> Signed-off-by: Lars Eggert <[email protected]> * Update neqo-transport/src/qlog.rs Co-authored-by: Max Inden <[email protected]> Signed-off-by: Lars Eggert <[email protected]> * Fix qns * Reduce number of CONNECTION_CLOSE frames If this makes ngtcp2 happy, refactor into separate PR. * Update neqo-transport/src/ecn.rs Co-authored-by: Max Inden <[email protected]> Signed-off-by: Lars Eggert <[email protected]> * Update neqo-transport/src/ecn.rs Co-authored-by: Max Inden <[email protected]> Signed-off-by: Lars Eggert <[email protected]> * Update neqo-transport/src/ecn.rs Co-authored-by: Max Inden <[email protected]> Signed-off-by: Lars Eggert <[email protected]> * Fixes * Update neqo-transport/src/connection/tests/ecn.rs Co-authored-by: Martin Thomson <[email protected]> Signed-off-by: Lars Eggert <[email protected]> * Update neqo-transport/src/connection/tests/ecn.rs Co-authored-by: Martin Thomson <[email protected]> Signed-off-by: Lars Eggert <[email protected]> * Update neqo-transport/src/connection/mod.rs Co-authored-by: Martin Thomson <[email protected]> Signed-off-by: Lars Eggert <[email protected]> * Update neqo-transport/src/frame.rs Co-authored-by: Martin Thomson <[email protected]> Signed-off-by: Lars Eggert <[email protected]> * Update neqo-transport/src/frame.rs Co-authored-by: Martin Thomson <[email protected]> Signed-off-by: Lars Eggert <[email protected]> * Update neqo-transport/src/ecn.rs Co-authored-by: Martin Thomson <[email protected]> Signed-off-by: Lars Eggert <[email protected]> * Some fixups from code review * More code review fixups * Check whether migration happened as expected. Minor other tweaks. * Consolidate all the `nodata` tests --------- Signed-off-by: Lars Eggert <[email protected]> Co-authored-by: Max Inden <[email protected]> Co-authored-by: Martin Thomson <[email protected]>
Resolving the merge conflicts now. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #1689 +/- ##
==========================================
+ Coverage 93.23% 93.25% +0.01%
==========================================
Files 110 110
Lines 35749 35793 +44
==========================================
+ Hits 33329 33377 +48
+ Misses 2420 2416 -4 ☔ View full report in Codecov by Sentry. |
Benchmark resultsPerformance differences relative to 4fc4d16.
Client/server transfer resultsTransfer of 134217728 bytes over loopback.
|
@larseggert I addressed the outstanding comment. Mind taking another look? |
Pass ECN CE marks received through FRAME_TYPE_ACK_ECN frames to the congestion controler.