Re: [PATCH bpf-next 2/2] bpf, docs: document BPF_MAP_TYPE_ARRAY
From: Jonathan Corbet <corbet@lwn.net>
Date: 2021-11-22 19:15:12
Also in:
bpf
From: Jonathan Corbet <corbet@lwn.net>
Date: 2021-11-22 19:15:12
Also in:
bpf
Dave Tucker [off-list ref] writes:
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> --- Documentation/bpf/map_array.rst | 150 ++++++++++++++++++++++++++++++++ 1 file changed, 150 insertions(+) create mode 100644 Documentation/bpf/map_array.rst
When you add a new BPF file, you need to add it to the corresponding index.rst file as well. Otherwise it won't be part of the docs build and will, instead, generate the warning you surely saw when you tested the build...:) Thanks, jon