Skip to content

CP: Do not always enable DSCP on Recv#5493

Merged
ProjectsByJackHe merged 2 commits intorelease/2.5from
jackhe/CP-dscp-toggle
Oct 7, 2025
Merged

CP: Do not always enable DSCP on Recv#5493
ProjectsByJackHe merged 2 commits intorelease/2.5from
jackhe/CP-dscp-toggle

Conversation

@ProjectsByJackHe
Copy link
Contributor

Description

CP of: #5467

Description copied for convenience:

DSCP on Recv, when enabled, seriously regresses performance.

At the same time, we cannot just delete the code.

So let's come to a compromise and only enable it via a global SetParam.

Most users of MsQuic SHOULD NOT set this on. But we set it on in our CI so our test code can exercise DSCP.

Testing

CI

Documentation

N/A

@ProjectsByJackHe ProjectsByJackHe requested a review from a team as a code owner October 6, 2025 21:08
* work-around to add recv dscp

* posix

* wip

* linux packages?c

* posix

* proper init

* respond to feedback

* more nit feedback, remove hard-coded TRUE

* comments

* fix build

* fix winkernel build

* wip

* wip

* address comments
@codecov
Copy link

codecov bot commented Oct 6, 2025

Codecov Report

❌ Patch coverage is 60.00000% with 6 lines in your changes missing coverage. Please review.
✅ Project coverage is 86.89%. Comparing base (b3945bb) to head (81c167f).
⚠️ Report is 3 commits behind head on release/2.5.

Files with missing lines Patch % Lines
src/core/library.c 60.00% 6 Missing ⚠️
Additional details and impacted files
@@               Coverage Diff               @@
##           release/2.5    #5493      +/-   ##
===============================================
- Coverage        87.42%   86.89%   -0.54%     
===============================================
  Files               59       59              
  Lines            18173    18188      +15     
===============================================
- Hits             15888    15804      -84     
- Misses            2285     2384      +99     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@ProjectsByJackHe ProjectsByJackHe merged commit 29f7708 into release/2.5 Oct 7, 2025
278 checks passed
@ProjectsByJackHe ProjectsByJackHe deleted the jackhe/CP-dscp-toggle branch October 7, 2025 20:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants