-
Notifications
You must be signed in to change notification settings - Fork 640
Add compiler toggle for xdp on windows #5688
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
Conversation
|
@microsoft-github-policy-service agree company="Jinxxy Technologies LLC" |
1 similar comment
|
@microsoft-github-policy-service agree company="Jinxxy Technologies LLC" |
|
Can you please clarify the issue you are trying to solve? MsQuic should compile without issue on Windows Client, XDP is a header only dependency. |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #5688 +/- ##
==========================================
- Coverage 86.32% 85.01% -1.31%
==========================================
Files 60 60
Lines 18663 18663
==========================================
- Hits 16110 15866 -244
- Misses 2553 2797 +244 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
Expanding on what guhetier said, there are 2 components to XDP-for-windows: the runtime kernel driver, and the header-only user space library. MsQuic does not build the runtime kernel driver, it just links against the header only user space library. The documentation link you referenced pertains to the kernel driver, which MsQuic does not compile. |
|
Apologies for incorrect documentation, should have done a bit more work explaining.
This causes a build failure if the submodule is not pulled in, and when This is the same build failure in #5417 as well. If this is supposed to reference a header in the main repo then it is missing, otherwise I would really prefer to have a compile flag to avoid needing to pull in a submodule I don't have the intention of using. |
|
@mriise, MsQuic depends on several submodules being present on build machines - is there a reason why the XDP submodule can't be initialized in your builds? I understand the code may be effectively unused in your scenario, but right now we're trying to simplify and reduce our build config matrix because of exploding overhead of validating and testing all the combinations. We'd like to avoid adding the no-XDP config to our CI test matrix, but we also don't want to frustrate you or other developers who find the hypothetical no-XDP config broken. |
|
I am coming from trying to use this in rust. The published crate does not include xdp in the published version (see https://docs.rs/crate/msquic/2.5.1-beta/source/submodules/). Publisher of the crate likely didn't have submoudles (at least not win-xdp) initialized during publish. From what I can tell CI is correct, but This just an approach to fixing builds for an improperly published rust crate. I am fine with closing this assuming a usable crate is published and/or release procedure for the rust crate is updated. |
|
That makes sense. @guhetier, could you take a look at the rust build/packaging? |
|
The rust package issue is a known one we didn't get time to address. I'll look at it. |
XDP for windows requires windows server, add a toggle so msquic can be built without xdp.