Skip to content

Conversation

@kernel-patches-daemon-bpf-rc
Copy link

Pull request for series with
subject: libbpf: add Doxygen docs for public LIBBPF_API APIs
version: 2
url: https://patchwork.kernel.org/project/netdevbpf/list/?series=1018051

Jianyun Gao added 5 commits October 31, 2025 01:01
Add doxygen comment blocks for all public bpf_map_* APIs in
tools/lib/bpf/bpf.h. These doc comments are for:

-bpf_map_create()
-bpf_map_update_elem()
-bpf_map_lookup_elem()
-bpf_map_lookup_elem_flags()
-bpf_map_lookup_and_delete_elem()
-bpf_map_lookup_and_delete_elem_flags()
-bpf_map_delete_elem()
-bpf_map_delete_elem_flags()
-bpf_map_get_next_key()
-bpf_map_freeze()
-bpf_map_get_next_id()
-bpf_map_get_fd_by_id()
-bpf_map_get_fd_by_id_opts()

Signed-off-by: Jianyun Gao <[email protected]>
Add doxygen comment blocks for all public bpf_prog_* APIs in
tools/lib/bpf/bpf.h. These doc comments are for:

-bpf_prog_load()
-bpf_prog_attach()
-bpf_prog_detach()
-bpf_prog_detach2()
-bpf_prog_get_next_id()
-bpf_prog_get_fd_by_id()
-bpf_prog_get_fd_by_id_opts()
-bpf_prog_query()
-bpf_prog_bind_map()
-bpf_prog_test_run_opts()

Signed-off-by: Jianyun Gao <[email protected]>
Add doxygen comment blocks for all public bpf_link_* APIs in
tools/lib/bpf/bpf.h. These doc comments are for:

-bpf_link_create()
-bpf_link_detach()
-bpf_link_update()
-bpf_link_get_next_id()
-bpf_link_get_fd_by_id()
-bpf_link_get_fd_by_id_opts()

Signed-off-by: Jianyun Gao <[email protected]>
Add doxygen comment blocks for all public bpf_obj_* APIs in
tools/lib/bpf/bpf.h. These doc comments are for:

-bpf_obj_pin()
-bpf_obj_pin_opts()
-bpf_obj_get()
-bpf_obj_get_opts()
-bpf_obj_get_info_by_fd()

Signed-off-by: Jianyun Gao <[email protected]>
Add doxygen comment blocks for remaining helpers (btf/iter etc.) in
tools/lib/bpf/bpf.h. These doc comments are for:

-libbpf_set_memlock_rlim()
-bpf_btf_load()
-bpf_iter_create()
-bpf_btf_get_next_id()
-bpf_btf_get_fd_by_id()
-bpf_btf_get_fd_by_id_opts()
-bpf_raw_tracepoint_open_opts()
-bpf_raw_tracepoint_open()
-bpf_task_fd_query()

Signed-off-by: Jianyun Gao <[email protected]>
@kernel-patches-daemon-bpf-rc
Copy link
Author

Upstream branch: 5701d5a
series: https://patchwork.kernel.org/project/netdevbpf/list/?series=1018051
version: 2

@kernel-patches-daemon-bpf-rc
Copy link
Author

At least one diff in series https://patchwork.kernel.org/project/netdevbpf/list/?series=1018051 expired. Closing PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant