docs/bpf: Add documentation for new cgroup local storage
authorYonghong Song <yhs@fb.com>
Wed, 26 Oct 2022 04:29:22 +0000 (21:29 -0700)
committerAlexei Starovoitov <ast@kernel.org>
Wed, 26 Oct 2022 06:19:20 +0000 (23:19 -0700)
commitd43198017ea39e5040a578d0dd622c7b0e939019
tree316c5272d9eb6454a100619024053919d892f493
parent0a1b69d1c736130dfe41d9c999d1be17b2794cda
docs/bpf: Add documentation for new cgroup local storage

Add some descriptions and examples for BPF_MAP_TYPE_CGRP_STORAGE.
Also illustate the major difference between BPF_MAP_TYPE_CGRP_STORAGE
and BPF_MAP_TYPE_CGROUP_STORAGE and recommend to use
BPF_MAP_TYPE_CGRP_STORAGE instead of BPF_MAP_TYPE_CGROUP_STORAGE
in the end.

Acked-by: David Vernet <void@manifault.com>
Signed-off-by: Yonghong Song <yhs@fb.com>
Link: https://lore.kernel.org/r/20221026042922.676383-1-yhs@fb.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Documentation/bpf/map_cgrp_storage.rst [new file with mode: 0644]