Re: [PATCH bpf-next 1/2] bpf, libbpf: add a new API bpf_object__reuse_maps()

2019-07-16 Thread Anton Protopopov
вт, 9 июл. 2019 г. в 13:40, Andrii Nakryiko : > > On Mon, Jul 8, 2019 at 1:37 PM Anton Protopopov > wrote: > > > > пн, 8 июл. 2019 г. в 13:54, Andrii Nakryiko : > > > > > > On Fri, Jul 5, 2019 at 2:53 PM Daniel Borkmann > > > wrote: > > > > > > > > On 07/05/2019 10:44 PM, Anton Protopopov

Re: [PATCH bpf-next 1/2] bpf, libbpf: add a new API bpf_object__reuse_maps()

2019-07-09 Thread Andrii Nakryiko
On Mon, Jul 8, 2019 at 1:37 PM Anton Protopopov wrote: > > пн, 8 июл. 2019 г. в 13:54, Andrii Nakryiko : > > > > On Fri, Jul 5, 2019 at 2:53 PM Daniel Borkmann wrote: > > > > > > On 07/05/2019 10:44 PM, Anton Protopopov wrote: > > > > Add a new API bpf_object__reuse_maps() which can be used to

Re: [PATCH bpf-next 1/2] bpf, libbpf: add a new API bpf_object__reuse_maps()

2019-07-08 Thread Anton Protopopov
пн, 8 июл. 2019 г. в 13:54, Andrii Nakryiko : > > On Fri, Jul 5, 2019 at 2:53 PM Daniel Borkmann wrote: > > > > On 07/05/2019 10:44 PM, Anton Protopopov wrote: > > > Add a new API bpf_object__reuse_maps() which can be used to replace all > > > maps in > > > an object by maps pinned to a

Re: [PATCH bpf-next 1/2] bpf, libbpf: add a new API bpf_object__reuse_maps()

2019-07-08 Thread Andrii Nakryiko
On Fri, Jul 5, 2019 at 2:53 PM Daniel Borkmann wrote: > > On 07/05/2019 10:44 PM, Anton Protopopov wrote: > > Add a new API bpf_object__reuse_maps() which can be used to replace all > > maps in > > an object by maps pinned to a directory provided in the path argument. > > Namely, > > each map

Re: [PATCH bpf-next 1/2] bpf, libbpf: add a new API bpf_object__reuse_maps()

2019-07-08 Thread Anton Protopopov
пт, 5 июл. 2019 г. в 17:44, Daniel Borkmann : > > On 07/05/2019 10:44 PM, Anton Protopopov wrote: > > Add a new API bpf_object__reuse_maps() which can be used to replace all > > maps in > > an object by maps pinned to a directory provided in the path argument. > > Namely, > > each map M in the

Re: [PATCH bpf-next 1/2] bpf, libbpf: add a new API bpf_object__reuse_maps()

2019-07-05 Thread Daniel Borkmann
On 07/05/2019 10:44 PM, Anton Protopopov wrote: > Add a new API bpf_object__reuse_maps() which can be used to replace all maps > in > an object by maps pinned to a directory provided in the path argument. > Namely, > each map M in the object will be replaced by a map pinned to path/M.name. > >

[PATCH bpf-next 1/2] bpf, libbpf: add a new API bpf_object__reuse_maps()

2019-07-05 Thread Anton Protopopov
Add a new API bpf_object__reuse_maps() which can be used to replace all maps in an object by maps pinned to a directory provided in the path argument. Namely, each map M in the object will be replaced by a map pinned to path/M.name. Signed-off-by: Anton Protopopov --- tools/lib/bpf/libbpf.c