Libbpf userspace function bpf_map__set_map_extra
Set the map_extra
with which the map will be created.
Definition
int bpf_map__set_map_extra(struct bpf_map *map, __u64 map_extra);
Parameters
map
: Pointer to the BPF map.map_extra
:map_extra
info to set.
Return
0
on success, or a negative error in case of failure.
Usage
The map_extra
can only be set before the map is created.
Example
Docs could be improved
This part of the docs is incomplete, contributions are very welcome