You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried to consume xdp-for-windows1.1.0.msi with ebpf-for-windows.x64.0.20.0.msi for an internal project.
Looks like in xdp-for-windows1.1.0 , the xdp provider and attach type GUIDs may not match with provider/attach type in ebpf-for-windows.x64.0.20.0.msi (https://github.com/microsoft/ebpf-for-windows/releases/tag/Release-v0.20.0)
consume ebpf 0.18.0 by @mtfriesen in #608
==============
The expected attach type is
__declspec(selectany) ebpf_attach_type_t EBPF_ATTACH_TYPE_XDP = {
0x85e0d8ef, 0x579e, 0x4931, {0xb0, 0x72, 0x8e, 0xe2, 0x26, 0xbb, 0x2e, 0x9d}};
Also, the clang version needs to be 18.1.8 (latest).
netsh ebpf add program <bpf_xxx.sys> type=xdp
error 23: could not attach program
where error 23 is
/// The eBPF extension failed to load.
EBPF_EXTENSION_FAILED_TO_LOAD