Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

bpf, docs: Remove deprecated xsk libbpf APIs description

Since xsk APIs has been removed from libbpf, let's clean up the
BPF docs simutaneously.

Signed-off-by: Pu Lehui <pulehui@huawei.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: Song Liu <song@kernel.org>
Link: https://lore.kernel.org/bpf/20220708042736.669132-1-pulehui@huawei.com

authored by

Pu Lehui and committed by
Daniel Borkmann
fb8ddf24 2b4b2621

+2 -11
+2 -11
Documentation/bpf/libbpf/libbpf_naming_convention.rst
··· 9 9 new function or type is added to keep libbpf API clean and consistent. 10 10 11 11 All types and functions provided by libbpf API should have one of the 12 - following prefixes: ``bpf_``, ``btf_``, ``libbpf_``, ``xsk_``, 13 - ``btf_dump_``, ``ring_buffer_``, ``perf_buffer_``. 12 + following prefixes: ``bpf_``, ``btf_``, ``libbpf_``, ``btf_dump_``, 13 + ``ring_buffer_``, ``perf_buffer_``. 14 14 15 15 System call wrappers 16 16 -------------------- ··· 58 58 Auxiliary functions and types that don't fit well in any of categories 59 59 described above should have ``libbpf_`` prefix, e.g. 60 60 ``libbpf_get_error`` or ``libbpf_prog_type_by_name``. 61 - 62 - AF_XDP functions 63 - ------------------- 64 - 65 - AF_XDP functions should have an ``xsk_`` prefix, e.g. 66 - ``xsk_umem__get_data`` or ``xsk_umem__create``. The interface consists 67 - of both low-level ring access functions and high-level configuration 68 - functions. These can be mixed and matched. Note that these functions 69 - are not reentrant for performance reasons. 70 61 71 62 ABI 72 63 ---