bpf: Mark BPF_MAP_TYPE_PERCPU_CGROUP_STORAGE deprecated
authorYonghong Song <yonghong.song@linux.dev>
Sun, 27 Aug 2023 15:28:37 +0000 (08:28 -0700)
committerAlexei Starovoitov <ast@kernel.org>
Fri, 8 Sep 2023 15:42:18 +0000 (08:42 -0700)
commit9bc95a95abbe91e9315c1fe27dc124019bd2592c
treec1501208a0bd5ca5d3613c400329655fb172c581
parent1bd7931728718bc463c43b78ab74954452e099e3
bpf: Mark BPF_MAP_TYPE_PERCPU_CGROUP_STORAGE deprecated

Now 'BPF_MAP_TYPE_CGRP_STORAGE + local percpu ptr'
can cover all BPF_MAP_TYPE_PERCPU_CGROUP_STORAGE functionality
and more. So mark BPF_MAP_TYPE_PERCPU_CGROUP_STORAGE deprecated.
Also make changes in selftests/bpf/test_bpftool_synctypes.py
and selftest libbpf_str to fix otherwise test errors.

Signed-off-by: Yonghong Song <yonghong.song@linux.dev>
Link: https://lore.kernel.org/r/20230827152837.2003563-1-yonghong.song@linux.dev
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
include/uapi/linux/bpf.h
tools/include/uapi/linux/bpf.h
tools/testing/selftests/bpf/prog_tests/libbpf_str.c
tools/testing/selftests/bpf/test_bpftool_synctypes.py