-
Notifications
You must be signed in to change notification settings - Fork 302
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
tests: add AF_XDP test using xdpilone #819
Conversation
✅ Deploy Preview for aya-rs-docs ready!Built without sensitive environment variables
To edit notification comments on pull requests, go to your Netlify site configuration. |
@Tuetuopay, this pull request is now in conflict and requires a rebase. |
Rebased on main + align on 16k for Apple Silicon. |
Hey, I think I have also been studying this a little bit: Which may (or may not) have many of the pieces to do AF_XDP from Rust without libbpf or libxdp. (And it is Apache licensed) Also, I think |
This has been discussed in my original XDP maps PR. IANAL but this is for tests only, this should not affect the library itself. Since artifacts based on xdpilone are not distributed it should not matter.
Oh that's a pretty nice one. Seems a bit "as-is" but that's promising, if that's possible to pry it out of the aws lib.
It definitely has the parts for RX since it's what's being tested in the integration tests. It lacks the XDP probe to send the packet to the socket map, but that's where Aya comes in. So it's not batteries included like libbpf is, but that does not matter. |
This is a follow-up PR to #527 where the AF_XDP integration test got dropped due to them depending on libbpf. We use the
xdpilone
crate there that is a pure-rust AF_XDP userspace library.