linux-doc.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH bpf-next v6 0/1] Document BPF_MAP_TYPE_ARRAY
@ 2022-10-05 10:46 Donald Hunter
  2022-10-05 10:46 ` [PATCH bpf-next v6 1/1] bpf, docs: document BPF_MAP_TYPE_ARRAY Donald Hunter
  0 siblings, 1 reply; 5+ messages in thread
From: Donald Hunter @ 2022-10-05 10:46 UTC (permalink / raw)
  To: bpf, linux-doc; +Cc: dave, Donald Hunter

Add documentation for BPF_MAP_TYPE_ARRAY and BPF_MAP_TYPE_PERCPU_ARRAY
variant, including kernel version introduced, usage and examples.

v5->v6:
- Rework sample code into individual snippets
- Grammar mods suggested by Bagas Sanjaja

v4->v5:
- Use formatting consistent with *_TYPE_HASH docs
- Dropped cgroup doc patch from this set
- Fix grammar and typos reported by Bagas Sanjaya
- Fix typo and version reported by Donald Hunter
- Update examples to be libbpf v1 compatible

v3->v4:
- fix doctest failure due to missing newline

v2->v3:
- wrap text to 80 chars and add newline at end of file

v1->v2:
- point to selftests for functional examples
- update examples to follow kernel style
- add docs for BPF_F_MMAPABLE


Dave Tucker (1):
  bpf, docs: document BPF_MAP_TYPE_ARRAY

 Documentation/bpf/map_array.rst | 231 ++++++++++++++++++++++++++++++++
 1 file changed, 231 insertions(+)
 create mode 100644 Documentation/bpf/map_array.rst

-- 
2.35.1


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2022-10-07 16:08 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-10-05 10:46 [PATCH bpf-next v6 0/1] Document BPF_MAP_TYPE_ARRAY Donald Hunter
2022-10-05 10:46 ` [PATCH bpf-next v6 1/1] bpf, docs: document BPF_MAP_TYPE_ARRAY Donald Hunter
2022-10-06 11:36   ` Jiri Olsa
2022-10-07 14:54     ` Daniel Borkmann
2022-10-07 16:07       ` Donald Hunter

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).