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

UMEM without a FILL ring #444

Open
Baruch-Fridman opened this issue Oct 13, 2024 · 1 comment
Open

UMEM without a FILL ring #444

Baruch-Fridman opened this issue Oct 13, 2024 · 1 comment
Assignees

Comments

@Baruch-Fridman
Copy link

Baruch-Fridman commented Oct 13, 2024

if (!umem_area || !umem_ptr || !fill || !comp)

Why is it not possible to create UMEM without a FILL ring for use in TX only?
Why is it different from the socket that is possible?
if (!umem || !xsk_ptr || !(rx || tx))

@magnus-karlsson
Copy link
Member

magnus-karlsson commented Oct 18, 2024

Good question. The code in the kernel does not allow for this and I do not remember exactly the reason, but probably something about code simplicity since a umem can be shared between multiple different sockets. You can always make the unwanted ring small :-).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants