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

BPF-Maps directory(/sys/fs/bpf/tc/globals/) not being created #171

Closed
jaysheth2 opened this issue Jan 24, 2023 · 0 comments · Fixed by #182
Closed

BPF-Maps directory(/sys/fs/bpf/tc/globals/) not being created #171

jaysheth2 opened this issue Jan 24, 2023 · 0 comments · Fixed by #182
Assignees

Comments

@jaysheth2
Copy link
Contributor

In a few instances, we have noticed that although the BPF file system (/sys/fs/bpf) is being mounted appropriately, the complete path (/sys/fs/bpf/tc/globals/) for the BPF maps does not exist. As most of the program the /sys/fs/bpf/tc/globals directory for creation of maps, the program will fail if the complete directory path is not present. Hence, L3AFD needs to make sure that complete path for the maps creation exists, or creates them, such that the programs do not fail.

Code block to fix: https://github.com/l3af-project/l3afd/blob/main/kf/nfconfig.go#L143-L156

@sanfern sanfern self-assigned this Feb 22, 2023
@sanfern sanfern linked a pull request Feb 22, 2023 that will close this issue
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 a pull request may close this issue.

2 participants