Skip to content
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

Improve AF_XDP test #846

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Improve AF_XDP test #846

wants to merge 2 commits into from

Conversation

arctic-alpaca
Copy link
Contributor

  • Fix UB in AF_XDP test: Calling assume_init_mut() on uninitialized memory causes UB. By using zeroed() the memory is guaranteed to be zero and with that is properly initialized for u8.
  • Add queue ID matching to AF_XDP test: Improves clarity how AF_XDP works for people using the test as an example. Basically does the same as the kernel docs.

Copy link

netlify bot commented Dec 1, 2023

Deploy Preview for aya-rs-docs ready!

Built without sensitive environment variables

Name Link
🔨 Latest commit 9813c39
🔍 Latest deploy log https://app.netlify.com/sites/aya-rs-docs/deploys/6569b0917bed0800084c42a6
😎 Deploy Preview https://deploy-preview-846--aya-rs-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@mergify mergify bot added the test A PR that improves test cases or CI label Dec 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
test A PR that improves test cases or CI
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant