mirror of https://github.com/aya-rs/aya
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Enables creation of Map enum variants directly from MapData instances, allowing user-space handles to pinned BPF maps without requiring the original BPF object. Supports hash map types: - BPF_MAP_TYPE_HASH - BPF_MAP_TYPE_LRU_HASH - BPF_MAP_TYPE_PERCPU_HASH - BPF_MAP_TYPE_LRU_PERCPU_HASH Motivation: - Simplifies accessing pinned maps in multi-threaded user space - Avoids full BPF reloads and potential deadlocks - Matches existing ergonomic APIs like LruHashMap::try_from - Keeps user code safe and idiomatic: Closes https://github.com/aya-rs/aya/issues/1305 Includes test coverage to validate the new API. |
3 days ago | |
---|---|---|
.. | ||
bpf | 4 months ago | |
src | 3 days ago | |
Cargo.toml | 2 months ago | |
build.rs | 3 months ago |