8000 Remove DataIndication Queuing from Kernel Datapath by nibanks · Pull Request #5091 · microsoft/msquic · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Remove DataIndication Queuing from Kernel Datapath #5091

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

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

nibanks
Copy link
Member
@nibanks nibanks commented May 10, 2025

Description

For several years now, the Windows kernel datapath has been always copying the recevied data in to local buffers because we found that any significant queuing can cause problems lower in the stack (i.e., the NIC); even if we queued only 1 indication. So, let's just remove all the code that supported the queuing mode to eliminate unnecessary branches in the kernel datapath code.

Testing

CI/CD

Documentation

N/A

@nibanks nibanks requested a review from a team as a code owner May 10, 2025 14:52
//
// Release any dropped or copied datagrams.
//
Binding->DgrmSocket->Dispatch->WskRelease(Binding->Socket, DataIndicationHead);
Copy link
Member Author

Choose a reason for hiding this comment

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

Should/can we just return STATUS_SUCCESS at the end to indicate inline processing and then not call WskRelease at all?

Copy link
codecov bot commented May 10, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 85.77%. Comparing base (f7890e3) to head (1d466d6).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #5091      +/-   ##
==========================================
- Coverage   87.00%   85.77%   -1.24%     
==========================================
  Files          59       59              
  Lines       18035    18035              
==========================================
- Hits        15692    15469     -223     
- Misses       2343     2566     +223     

☔ 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant
0