Home
last modified time | relevance | path

Searched hist:"9855 c131b9c8b0327ff5182f88bb1991f212415b" (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/tools/bpf/bpftool/
H A Dprog.cdiff 9855c131b9c8b0327ff5182f88bb1991f212415b Tue Jan 04 18:06:01 CST 2022 Christy Lee <christylee@fb.com> libbpf 1.0: Deprecate bpf_map__is_offload_neutral()

Deprecate bpf_map__is_offload_neutral(). It’s most probably broken
already. PERF_EVENT_ARRAY isn’t the only map that’s not suitable
for hardware offloading. Applications can directly check map type
instead.

[0] Closes: https://github.com/libbpf/libbpf/issues/306

Signed-off-by: Christy Lee <christylee@fb.com>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/20220105000601.2090044-1-christylee@fb.com
/openbmc/linux/tools/lib/bpf/
H A Dlibbpf.hdiff 9855c131b9c8b0327ff5182f88bb1991f212415b Tue Jan 04 18:06:01 CST 2022 Christy Lee <christylee@fb.com> libbpf 1.0: Deprecate bpf_map__is_offload_neutral()

Deprecate bpf_map__is_offload_neutral(). It’s most probably broken
already. PERF_EVENT_ARRAY isn’t the only map that’s not suitable
for hardware offloading. Applications can directly check map type
instead.

[0] Closes: https://github.com/libbpf/libbpf/issues/306

Signed-off-by: Christy Lee <christylee@fb.com>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/20220105000601.2090044-1-christylee@fb.com