aboutsummaryrefslogtreecommitdiff
path: root/Documentation/bpf/map_array.rst
AgeCommit message (Collapse)AuthorFilesLines
2022-11-24docs/bpf: Fix sphinx warnings in BPF map docsDonald Hunter1-4/+16
Fix duplicate C declaration warnings when using sphinx >= 3.1. Reported-by: Akira Yokosawa <[email protected]> Signed-off-by: Donald Hunter <[email protected]> Signed-off-by: Daniel Borkmann <[email protected]> Reviewed-by: Akira Yokosawa <[email protected]> Link: https://lore.kernel.org/bpf/[email protected] Link: https://lore.kernel.org/bpf/[email protected]
2022-11-15docs/bpf: Fix sample code in MAP_TYPE_ARRAY docsDonald Hunter1-1/+1
Remove mistaken & from code example in MAP_TYPE_ARRAY docs Fixes: 1cfa97b30c5a ("bpf, docs: Document BPF_MAP_TYPE_ARRAY") Signed-off-by: Donald Hunter <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Alexei Starovoitov <[email protected]>
2022-11-11bpf, docs: Document BPF_MAP_TYPE_ARRAYDave Tucker1-0/+250
Add documentation for the BPF_MAP_TYPE_ARRAY including kernel version introduced, usage and examples. Also document BPF_MAP_TYPE_PERCPU_ARRAY which is similar. Co-developed-by: Donald Hunter <[email protected]> Signed-off-by: Dave Tucker <[email protected]> Signed-off-by: Donald Hunter <[email protected]> Signed-off-by: Andrii Nakryiko <[email protected]> Reviewed-by: Maryam Tahhan <[email protected]> Reviewed-by: Bagas Sanjaya <[email protected]> Link: https://lore.kernel.org/bpf/[email protected]