8000 when default data size is 2048, the umem->frame_size is illeagle · Issue #3611 · FDio/vpp · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

when default data size is 2048, the umem->frame_size is illeagle #3611

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

Open
tsinghai1982 opened this issue May 15, 2025 · 1 comment
Open

Comments

@tsinghai1982
Copy link

umem_config.frame_size =

umem->frame_size can only be 2K or 4K at the moment.
see https://www.kernel.org/doc/html/latest/networking/af_xdp.html#xdp-umem-reg-setsockopt

@tsinghai1982
Copy link
Author

the real umem->frame_size will be (data-size2048 + headroom256), it's illeagle value for current linux.

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

1 participant
0