Thread (49 messages) 49 messages, 3 authors, 2021-05-12

Re: [PATCH v4 bpf-next 09/22] libbpf: Support for fd_idx

From: Andrii Nakryiko <hidden>
Date: 2021-05-11 22:57:49

On Fri, May 7, 2021 at 8:48 PM Alexei Starovoitov
[off-list ref] wrote:
From: Alexei Starovoitov <ast@kernel.org>

Add support for FD_IDX and make libbpf prefer that approach to loading programs
to make testing and bisection easy.
The next patch will fine tune libbpf behavior to use FEAT_FD_IDX only when
generating loader program.

Signed-off-by: Alexei Starovoitov <ast@kernel.org>
---
Patch #15 pretty much undoes this patch, but leaves unused FEAT_FD_IDX
and probe_kern_fd_idx() lying around. Is there a problem to just put
bpf_object__relocate_data()'s changes into patch #15?
 tools/lib/bpf/bpf.c             |  1 +
 tools/lib/bpf/libbpf.c          | 73 +++++++++++++++++++++++++++++----
 tools/lib/bpf/libbpf_internal.h |  1 +
 3 files changed, 68 insertions(+), 7 deletions(-)
[...]
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help