Re: [PATCH bpf-next v8 1/1] bpf, docs: document BPF_MAP_TYPE_ARRAY

Donald Hunter
2022-10-25T17:50:13Z

"Jesper D. Brouer" <netdev@brouer.com> writes:

> On 21/10/2022 16.22, Donald Hunter wrote:
>> +
>> +Usage
>> +=====
>
> Can we make it more clear, that below refers to usage from BPF programs.
> E.g. changing title "Usage" to something else, or create a sub-section.
> Below we have subsections "Kernel BPF" and "Userspace", do set aside
> kernel-side and userspace API users.
>
> Sorry for bringing this up so late (v8), but I think it is important
> that the documentation makes it easy for the reader to quickly grasp
> which section is BPF-prog code and which is userspace libbpf APIs.
> IMHO this should then be consistent across out docs.

Agreed. I will add "Kernel BPF" and "Userspace" subsections consistently
for both Usage and Examples.