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

add barrier missing between producer submit and needpoke check #4593

Merged
merged 2 commits into from
Oct 8, 2024

Conversation

mtfriesen
Copy link
Contributor

Description

Describe the purpose of and changes within this Pull Request.

I noticed MsQuic is missing the mandatory (on x64) barrier between submitting TX producer entries and checking the TX ring for the NeedPoke flag. If these operations get reordered, pokes could be missed.

Testing

Do any existing tests cover this change? Are new tests needed?

CI.

Documentation

Is there any documentation impact for this change?

No.

@mtfriesen mtfriesen requested a review from a team as a code owner October 4, 2024 17:13
nibanks
nibanks previously approved these changes Oct 4, 2024
@nibanks nibanks added the Bug: Platform A code bug in platform/TLS specific code. label Oct 4, 2024
Copy link

codecov bot commented Oct 4, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 86.66%. Comparing base (ecf88da) to head (3769eb4).
Report is 8 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #4593      +/-   ##
==========================================
- Coverage   86.94%   86.66%   -0.29%     
==========================================
  Files          56       56              
  Lines       17354    17354              
==========================================
- Hits        15089    15040      -49     
- Misses       2265     2314      +49     

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

@mtfriesen mtfriesen merged commit ae550a2 into main Oct 8, 2024
477 of 480 checks passed
@mtfriesen mtfriesen deleted the mfriesen/xdp_barrier_before_poke branch October 8, 2024 15:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug: Platform A code bug in platform/TLS specific code.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants