Thread (6 messages) 6 messages, 3 authors, 2021-12-02

Re: [PATCH v2 bpf-next 2/2] bpf, docs: document BPF_MAP_TYPE_ARRAY

From: Song Liu <song@kernel.org>
Date: 2021-11-27 03:22:50
Also in: linux-doc

On Tue, Nov 23, 2021 at 8:24 AM Dave Tucker [off-list ref] wrote:
This commit adds documentation for the BPF_MAP_TYPE_ARRAY including
kernel version introduced, usage and examples.
It also documents BPF_MAP_TYPE_PERCPU_ARRAY since this is similar.

Signed-off-by: Dave Tucker <redacted>
It will be great to add an example with BPF_F_MMAPABLE, but I guess we can
do that in a follow up patch. So

Acked-by: Song Liu <redacted>

With one nitpick.

[...]
+
+When calling ``bpf_map_update_elem()`` the flags ``BPF_NOEXIST`` can not be used for these maps.
\ No newline at end of file
nit: Maybe add a newline at the end?
--
2.33.1
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help