Re: [PATCH v2 bpf-next 04/10] bpf: add support for BPF_OBJ_GET_INFO_BY_FD for bpf_link

2020-04-28 Thread kbuild test robot
Hi Andrii, I love your patch! Yet something to improve: [auto build test ERROR on bpf-next/master] [also build test ERROR on bpf/master cgroup/for-next net/master net-next/master v5.7-rc3 next-20200428] [if your patch is applied to the wrong git tree, please drop us a note to help improve the sy

Re: [PATCH v2 bpf-next 04/10] bpf: add support for BPF_OBJ_GET_INFO_BY_FD for bpf_link

2020-04-28 Thread Toke Høiland-Jørgensen
Andrii Nakryiko writes: > On Tue, Apr 28, 2020 at 2:46 AM Toke Høiland-Jørgensen > wrote: >> >> Andrii Nakryiko writes: >> >> > Add ability to fetch bpf_link details through BPF_OBJ_GET_INFO_BY_FD >> > command. >> > Also enhance show_fdinfo to potentially include bpf_link type-specific >> > i

Re: [PATCH v2 bpf-next 04/10] bpf: add support for BPF_OBJ_GET_INFO_BY_FD for bpf_link

2020-04-28 Thread Andrii Nakryiko
On Tue, Apr 28, 2020 at 2:46 AM Toke Høiland-Jørgensen wrote: > > Andrii Nakryiko writes: > > > Add ability to fetch bpf_link details through BPF_OBJ_GET_INFO_BY_FD > > command. > > Also enhance show_fdinfo to potentially include bpf_link type-specific > > information (similarly to obj_info). >

Re: [PATCH v2 bpf-next 04/10] bpf: add support for BPF_OBJ_GET_INFO_BY_FD for bpf_link

2020-04-28 Thread Toke Høiland-Jørgensen
Andrii Nakryiko writes: > Add ability to fetch bpf_link details through BPF_OBJ_GET_INFO_BY_FD command. > Also enhance show_fdinfo to potentially include bpf_link type-specific > information (similarly to obj_info). > > Also introduce enum bpf_link_type stored in bpf_link itself and expose it in