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

docker: add xdp deps in Dockerfile #636

Merged
merged 4 commits into from
Dec 11, 2023

Conversation

ricmli
Copy link
Collaborator

@ricmli ricmli commented Dec 8, 2023

Add the arguments needed to run AF_XDP backend.

@ricmli ricmli self-assigned this Dec 8, 2023
@ricmli
Copy link
Collaborator Author

ricmli commented Dec 8, 2023

xsk_socket__update_xskmap is not working in container, we may need to mount the map to bpffs or try other ways.

@ricmli
Copy link
Collaborator Author

ricmli commented Dec 11, 2023

xsk_socket__update_xskmap is not working in container, we may need to mount the map to bpffs or try other ways.

Fixed by adding CAP_BPF. Also fixed umem_create with setting ulimit.

@ricmli ricmli marked this pull request as ready for review December 11, 2023 03:22
@ricmli ricmli requested a review from frankdjx as a code owner December 11, 2023 03:22
@ricmli ricmli merged commit 240840a into OpenVisualCloud:main Dec 11, 2023
28 checks passed
@ricmli ricmli deleted the dockerfile/xdp branch December 11, 2023 04:20
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

Successfully merging this pull request may close these issues.

2 participants