Dave Tucker <dave@xxxxxxxxxxxxx> writes: > +Since Kernel 5.4, memory mapping may be enabled for ``BPF_MAP_TYPE_ARRAY`` by It looks to be 5.5 according to bootlin: https://elixir.bootlin.com/linux/v5.4.203/A/ident/BPF_F_MMAPABLE https://elixir.bootlin.com/linux/v5.5/A/ident/BPF_F_MMAPABLE > +Array elements can also be added using the ``bpf_map_update_elem()`` helper or > +libbpf API. > + > +Since the array is of constant size, ``bpf_map_delete_elem()`` is not supported. > +To clear an array element, you may use ``bpf_map_update_eleme()`` to insert a > +zero value to that index. Typo in bpf_map_update_elem(). Thanks! -- Donald Hunter