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

try a newer xdp build #4590

Draft
wants to merge 8 commits into
base: main
Choose a base branch
from
Draft

try a newer xdp build #4590

wants to merge 8 commits into from

Conversation

mtfriesen
Copy link
Contributor

Description

Describe the purpose of and changes within this Pull Request.

Testing

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

Documentation

Is there any documentation impact for this change?

Copy link

codecov bot commented Oct 3, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 85.68%. Comparing base (f7738fd) to head (80bf1b2).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #4590      +/-   ##
==========================================
- Coverage   85.88%   85.68%   -0.21%     
==========================================
  Files          56       56              
  Lines       17354    17354              
==========================================
- Hits        14904    14869      -35     
- Misses       2450     2485      +35     

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

"[ xdp][%p] XDP loading library",
Xdp);

HMODULE Lib = LoadLibraryA("xdpapi.dll");
Copy link
Member

Choose a reason for hiding this comment

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

I thought we already had dynamic loading for xdp...?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I think the problem is that XdpLoadApi below did not return a meaningful error code to understand the precise stage loading failed, and this added diagnostics.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

[This whole problem is moot with even newer builds.]

@@ -176,6 +176,10 @@ RawSocketCreateUdp(
return Status;
}

//
// Change some real code, too.
Copy link
Member

Choose a reason for hiding this comment

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

Don't forget to revert.

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