Skip to content

Cross-Platform AF_XDP API #13

@nibanks

Description

@nibanks

Currently, the FAQ makes the following statement:

It is not directly source-compatible with the Linux API, though it is possible to build a thin shim layer to abstract any differences.

This begs the following questions:

How important is cross-platform AF_XDP API usage?

Do we expect that a single application, built for multiple platforms, would want to support XDP on both? My personal take is Yes, applications that support XDP on one platform will most likely want to leverage it on another if possible.

If cross-platform support is important, should XDP for Windows have exactly the same API as on Linux?

Assuming cross-platform support is an eventual goal, should XDP for Windows be constrained to what Linux has/does or should we instead propose a shim on top of both? I'm not sure.

Should XDP for Windows have the sole responsibility for driving this cross-platform support?

Whether it is decided to match APIs exactly (or perhaps close enough that only minimal differences exist) or a separate shim layer is written, I believe more input will be needed from the community. If the shim approach is taken, it doesn't really make sense for either platform to explicitly own the shim, but should be a combined ownership, or completely separate.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2feature requestNew feature or requestxplatcross-platform compatibility

    Type

    Projects

    Status

    No status

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions