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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, May 7, 2021 at 8:48 PM Alexei Starovoitov
<alexei.starovoitov@xxxxxxxxx> wrote:
>
> From: Alexei Starovoitov <ast@xxxxxxxxxx>
>
> 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@xxxxxxxxxx>
> ---

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(-)
>

[...]



[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux