Re: [PATCH net-next 1/5] libbpf: add ability to guess program type based on section name

2017-12-04 Thread Roman Gushchin
On Mon, Dec 04, 2017 at 01:12:33PM +, Quentin Monnet wrote: > 2017-12-04 12:34 UTC+ ~ Roman Gushchin > > On Fri, Dec 01, 2017 at 02:46:06PM -0800, Jakub Kicinski wrote: > >> On Fri, 1 Dec 2017 10:22:57 +, Quentin Monnet wrote: > >>> Thanks Roman! > >>> One comment in-line. > >>> > >>>

Re: [PATCH net-next 1/5] libbpf: add ability to guess program type based on section name

2017-12-04 Thread Quentin Monnet
2017-12-04 12:34 UTC+ ~ Roman Gushchin > On Fri, Dec 01, 2017 at 02:46:06PM -0800, Jakub Kicinski wrote: >> On Fri, 1 Dec 2017 10:22:57 +, Quentin Monnet wrote: >>> Thanks Roman! >>> One comment in-line. >>> >>> 2017-11-30 13:42 UTC+ ~ Roman Gushchin The bpf_prog_load() function

Re: [PATCH net-next 1/5] libbpf: add ability to guess program type based on section name

2017-12-04 Thread Roman Gushchin
On Fri, Dec 01, 2017 at 02:46:06PM -0800, Jakub Kicinski wrote: > On Fri, 1 Dec 2017 10:22:57 +, Quentin Monnet wrote: > > Thanks Roman! > > One comment in-line. > > > > 2017-11-30 13:42 UTC+ ~ Roman Gushchin > > > The bpf_prog_load() function will guess program type if it's not > > > spe

Re: [PATCH net-next 1/5] libbpf: add ability to guess program type based on section name

2017-12-01 Thread Jakub Kicinski
On Fri, 1 Dec 2017 10:22:57 +, Quentin Monnet wrote: > Thanks Roman! > One comment in-line. > > 2017-11-30 13:42 UTC+ ~ Roman Gushchin > > The bpf_prog_load() function will guess program type if it's not > > specified explicitly. This functionality will be used to implement > > loading of

Re: [PATCH net-next 1/5] libbpf: add ability to guess program type based on section name

2017-12-01 Thread Quentin Monnet
Thanks Roman! One comment in-line. 2017-11-30 13:42 UTC+ ~ Roman Gushchin > The bpf_prog_load() function will guess program type if it's not > specified explicitly. This functionality will be used to implement > loading of different programs without asking a user to specify > the program type

[PATCH net-next 1/5] libbpf: add ability to guess program type based on section name

2017-11-30 Thread Roman Gushchin
The bpf_prog_load() function will guess program type if it's not specified explicitly. This functionality will be used to implement loading of different programs without asking a user to specify the program type. In first order it will be used by bpftool. Signed-off-by: Roman Gushchin Cc: Alexei