Thread (14 messages) 14 messages, 2 authors, 2021-02-26

Re: [PATCH bpf-next v5 05/12] bpf: add bpf_for_each_map_elem() helper

From: Alexei Starovoitov <hidden>
Date: 2021-02-26 21:30:44

On Fri, Feb 26, 2021 at 12:49 PM Yonghong Song [off-list ref] wrote:
+ *
+ *             The following are a list of supported map types and their
+ *             respective expected callback signatures:
+ *
+ *             BPF_MAP_TYPE_HASH, BPF_MAP_TYPE_PERCPU_HASH,
+ *             BPF_MAP_TYPE_LRU_HASH, BPF_MAP_TYPE_LRU_PERCPU_HASH,
+ *             BPF_MAP_TYPE_ARRAY, BPF_MAP_TYPE_PERCPU_ARRAY:
+ *                 long (*callback_fn)(struct bpf_map *map, const void *key,
+ *                                     void *value, void *ctx);
This part was causing errors and warnings in bpf-helpers.rst.
I fixed it up while applying.

Thanks a lot for the great work! Really exciting feature!
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help