On Tue, Nov 23, 2021 at 8:24 AM Dave Tucker <dave@xxxxxxxxxxxxx> 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 <dave@xxxxxxxxxxxxx> 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 <songliubraving@xxxxxx> 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 >