Home
last modified time | relevance | path

Searched hist:e59618f0f46fa6cf86d5b82380e0f453756b282b (Results 1 – 2 of 2) sorted by relevance

/linux/tools/lib/bpf/
H A Dbpf.hdiff e59618f0f46fa6cf86d5b82380e0f453756b282b Thu Jan 06 21:13:05 CET 2022 Grant Seltzer <grantseltzer@gmail.com> libbpf: Add documentation for bpf_map batch operations

This adds documention for:

- bpf_map_delete_batch()
- bpf_map_lookup_batch()
- bpf_map_lookup_and_delete_batch()
- bpf_map_update_batch()

This also updates the public API for the `keys` parameter
of `bpf_map_delete_batch()`, and both the
`keys` and `values` parameters of `bpf_map_update_batch()`
to be constants.

Signed-off-by: Grant Seltzer <grantseltzer@gmail.com>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Acked-by: Yonghong Song <yhs@fb.com>
Link: https://lore.kernel.org/bpf/20220106201304.112675-1-grantseltzer@gmail.com
H A Dbpf.cdiff e59618f0f46fa6cf86d5b82380e0f453756b282b Thu Jan 06 21:13:05 CET 2022 Grant Seltzer <grantseltzer@gmail.com> libbpf: Add documentation for bpf_map batch operations

This adds documention for:

- bpf_map_delete_batch()
- bpf_map_lookup_batch()
- bpf_map_lookup_and_delete_batch()
- bpf_map_update_batch()

This also updates the public API for the `keys` parameter
of `bpf_map_delete_batch()`, and both the
`keys` and `values` parameters of `bpf_map_update_batch()`
to be constants.

Signed-off-by: Grant Seltzer <grantseltzer@gmail.com>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Acked-by: Yonghong Song <yhs@fb.com>
Link: https://lore.kernel.org/bpf/20220106201304.112675-1-grantseltzer@gmail.com