bpf: Document usage of the new __bpf_kfunc macro
authorDavid Vernet <void@manifault.com>
Wed, 1 Feb 2023 17:30:14 +0000 (11:30 -0600)
committerDaniel Borkmann <daniel@iogearbox.net>
Wed, 1 Feb 2023 23:25:14 +0000 (00:25 +0100)
commit98e6ab7a04353c95b1f4bad345d156ded865fd96
tree05fdeb14c15c8074dce01875bba9532da3554521
parent57e7c169cd6afa093d858b8edfb9bceaf2e1c93b
bpf: Document usage of the new __bpf_kfunc macro

Now that the __bpf_kfunc macro has been added to linux/btf.h, include a
blurb about it in the kfuncs.rst file. In order for the macro to
successfully render with .. kernel-doc, we'll also need to add it to the
c_id_attributes array.

Signed-off-by: David Vernet <void@manifault.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: Stanislav Fomichev <sdf@google.com>
Link: https://lore.kernel.org/bpf/20230201173016.342758-3-void@manifault.com
Documentation/bpf/kfuncs.rst
Documentation/conf.py