Skip to content

Document BPF_MAP_TYPE_ARRAY

Donald Hunter bpf linux-doc 6 versions – Applied

Status from this message: This patch was applied to bpf/bpf-next.git (master)

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v10 Latest1 patch 4 repliesApplied 1/1
  2. v91 patch 0 repliesSuperseded
  3. v81 patch 3 repliesSuperseded
Earlier versions · 3
VersionPostedPatchesRepliesStatus
v71 patch2 repliesSuperseded
v61 patch3 repliesSuperseded
v51 patch2 repliesSuperseded

Changes in v10 from the cover letter

- Add missing Reviewed-by tag

Patches in v10 All 1 applied

#Subject and filesSizeRepliesApplied
1/1bpf, docs: document BPF_MAP_TYPE_ARRAYDocumentation/bpf/map_array.rst+250 -04 repliesApplied

Reviews trailers per patch

The patch has a Reviewed-by or Acked-by.

PatchMaryam TahhanBagas Sanjaya
1/1R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v10 thread

Cover letter [PATCH bpf-next v10 0/1] Document BPF_MAP_TYPE_ARRAY

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

v9->v10:
- Add missing Reviewed-by tag

v8->v9:
- Add "Kernel BPF" heading suggested by Jesper Brouer
- Tidy up wording to clarify BPF vs userspace APIs

v7->v8:
- Fix alignment wording reported by Alexei Starovoitov
- Avoid deprecated functions, reported by Alexei Starovoitov
- Fix code sample formatting, reported by Alexei Starovoitov

v6->v7:
- Remove 2^32 reference and reword paragraph
reported by Jiri Olsa and Daniel Borkmann

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 | 250 ++++++++++++++++++++++++++++++++
 1 file changed, 250 insertions(+)
 create mode 100644 Documentation/bpf/map_array.rst
Signature · 1 line
2.35.1