-
Notifications
You must be signed in to change notification settings - Fork 534
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
base: main
Are you sure you want to change the base?
try a newer xdp build #4590
Changes from all commits
4b654c0
25de681
6cc9c8a
19ff339
1974fc0
24da2d7
c74e356
80bf1b2
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
{ | ||
"installer": "https://github.com/microsoft/xdp-for-windows/releases/download/v1.0.1/xdp-for-windows.1.0.1.msi" | ||
"installer": "https://github.com/microsoft/xdp-for-windows/releases/download/v1.1.0%2B2ca1655c/xdp-for-windows.x64.1.1.0.msi" | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -942,6 +942,40 @@ CxPlatDpRawInitialize( | |
return QUIC_STATUS_INVALID_PARAMETER; | ||
} | ||
|
||
{ | ||
QuicTraceLogVerbose( | ||
XdpInitialize, | ||
"[ xdp][%p] XDP loading library", | ||
Xdp); | ||
|
||
HMODULE Lib = LoadLibraryA("xdpapi.dll"); | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I thought we already had dynamic loading for xdp...? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think the problem is that There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. [This whole problem is moot with even newer builds.] |
||
if (Lib == NULL) { | ||
QuicTraceLogError( | ||
XdpInitialize, | ||
"[ xdp][%p] XDP loading library error %u", | ||
Xdp, GetLastError()); | ||
} else { | ||
QuicTraceLogVerbose( | ||
XdpInitialize, | ||
"[ xdp][%p] XDP resolving XdpOpenApi", | ||
Xdp); | ||
|
||
if (GetProcAddress(Lib, "XdpOpenApi") == NULL) { | ||
QuicTraceLogError( | ||
XdpInitialize, | ||
"[ xdp][%p] XDP resolving XdpOpenApi error %u", | ||
Xdp, GetLastError()); | ||
} | ||
|
||
FreeLibrary(Lib); | ||
|
||
QuicTraceLogVerbose( | ||
XdpInitialize, | ||
"[ xdp][%p] XDP unloaded library", | ||
Xdp); | ||
} | ||
} | ||
|
||
CxPlatListInitializeHead(&Xdp->Interfaces); | ||
if (QUIC_FAILED(XdpLoadApi(XDP_API_VERSION_1, &Xdp->XdpApiLoadContext, &Xdp->XdpApi))) { | ||
Status = QUIC_STATUS_NOT_SUPPORTED; | ||
|
There was a problem hiding this comment.
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.