Skip to content

[Release v1.1.0] Provider and Attach type GUIDs does not match with ebpf-for-windows.x64.0.20.msi #768

@shpalani

Description

@shpalani

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)

Release v1.1.0 · microsoft/xdp-for-windows has

  • 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    blockedblocked on something else

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions