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

Update maps with pinning attribute #75

Merged
merged 1 commit into from Nov 20, 2023

Conversation

sanfern
Copy link
Contributor

@sanfern sanfern commented Nov 9, 2023

The purpose of this PR is to enable BPF maps to load with the option to reuse maps. In this case, we need to define maps with the pinning attribute. If the map already exists while loading, it will be reused instead of creating a new one.
Removed unused code and newlines from logs.

Signed-off-by: sanfern <santhosh.fernandes@gmail.com>
Copy link
Contributor

@jaysheth2 jaysheth2 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@sanfern sanfern merged commit 8f53735 into l3af-project:main Nov 20, 2023
13 checks passed
@sanfern sanfern deleted the sanfern-loading-fix branch November 20, 2023 09:43
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.

None yet

3 participants