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

aya_ebpf: Support BPF_MAP_LOOKUP_AND_DELETE_ELEM command on hash map types #993

Open
l2dy opened this issue Jul 18, 2024 · 0 comments
Open

Comments

@l2dy
Copy link
Contributor

l2dy commented Jul 18, 2024

The BPF_MAP_LOOKUP_AND_DELETE_ELEM command is valid for hash map types like BPF_MAP_TYPE_HASH and BPF_MAP_TYPE_LRU_HASH, but Aya does not expose it in aya_ebpf crate's API for hash map types.

https://github.com/torvalds/linux/blob/b1bc554e009e3aeed7e4cfd2e717c7a34a98c683/include/uapi/linux/bpf.h#L572-L602

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