Re: [PATCH bpf-next] bpftool: recognize BPF_PROG_TYPE_CGROUP_DEVICE programs

2018-01-19 Thread Jakub Kicinski
On Fri, 19 Jan 2018 14:17:45 +, Roman Gushchin wrote: > > Looks good, thanks Roman! > > Would you mind updating the map names as well? It seems the > > BPF_MAP_TYPE_CPUMAP is missing from the list in map.c. > > Hello, Quentin! > > Here is the patch. Thank you for following up, would you

Re: [PATCH bpf-next] bpftool: recognize BPF_PROG_TYPE_CGROUP_DEVICE programs

2018-01-19 Thread Jakub Kicinski
On Fri, 19 Jan 2018 14:17:45 +, Roman Gushchin wrote: > > Looks good, thanks Roman! > > Would you mind updating the map names as well? It seems the > > BPF_MAP_TYPE_CPUMAP is missing from the list in map.c. > > Hello, Quentin! > > Here is the patch. Thank you for following up, would you

Re: [PATCH bpf-next] bpftool: recognize BPF_PROG_TYPE_CGROUP_DEVICE programs

2018-01-19 Thread Daniel Borkmann
On 01/19/2018 03:37 PM, Quentin Monnet wrote: > 2018-01-19 14:17 UTC+ ~ Roman Gushchin >> On Mon, Jan 15, 2018 at 07:32:01PM +, Quentin Monnet wrote: > > [...] > >>> Looks good, thanks Roman! >>> Would you mind updating the map names as well? It seems the >>>

Re: [PATCH bpf-next] bpftool: recognize BPF_PROG_TYPE_CGROUP_DEVICE programs

2018-01-19 Thread Daniel Borkmann
On 01/19/2018 03:37 PM, Quentin Monnet wrote: > 2018-01-19 14:17 UTC+ ~ Roman Gushchin >> On Mon, Jan 15, 2018 at 07:32:01PM +, Quentin Monnet wrote: > > [...] > >>> Looks good, thanks Roman! >>> Would you mind updating the map names as well? It seems the >>> BPF_MAP_TYPE_CPUMAP is

Re: [PATCH bpf-next] bpftool: recognize BPF_PROG_TYPE_CGROUP_DEVICE programs

2018-01-19 Thread Quentin Monnet
2018-01-19 14:17 UTC+ ~ Roman Gushchin > On Mon, Jan 15, 2018 at 07:32:01PM +, Quentin Monnet wrote: [...] >> Looks good, thanks Roman! >> Would you mind updating the map names as well? It seems the >> BPF_MAP_TYPE_CPUMAP is missing from the list in map.c. > > Hello,

Re: [PATCH bpf-next] bpftool: recognize BPF_PROG_TYPE_CGROUP_DEVICE programs

2018-01-19 Thread Quentin Monnet
2018-01-19 14:17 UTC+ ~ Roman Gushchin > On Mon, Jan 15, 2018 at 07:32:01PM +, Quentin Monnet wrote: [...] >> Looks good, thanks Roman! >> Would you mind updating the map names as well? It seems the >> BPF_MAP_TYPE_CPUMAP is missing from the list in map.c. > > Hello, Quentin! > > >

Re: [PATCH bpf-next] bpftool: recognize BPF_PROG_TYPE_CGROUP_DEVICE programs

2018-01-19 Thread Roman Gushchin
On Mon, Jan 15, 2018 at 07:32:01PM +, Quentin Monnet wrote: > 2018-01-15 19:16 UTC+ ~ Roman Gushchin > > Bpftool doesn't recognize BPF_PROG_TYPE_CGROUP_DEVICE programs, > > so the prog show command prints the numeric type value: > > > > $ bpftool prog show > > 1: type 15

Re: [PATCH bpf-next] bpftool: recognize BPF_PROG_TYPE_CGROUP_DEVICE programs

2018-01-19 Thread Roman Gushchin
On Mon, Jan 15, 2018 at 07:32:01PM +, Quentin Monnet wrote: > 2018-01-15 19:16 UTC+ ~ Roman Gushchin > > Bpftool doesn't recognize BPF_PROG_TYPE_CGROUP_DEVICE programs, > > so the prog show command prints the numeric type value: > > > > $ bpftool prog show > > 1: type 15 name bpf_prog1

Re: [PATCH bpf-next] bpftool: recognize BPF_PROG_TYPE_CGROUP_DEVICE programs

2018-01-15 Thread Daniel Borkmann
On 01/15/2018 08:49 PM, Roman Gushchin wrote: > On Mon, Jan 15, 2018 at 07:32:01PM +, Quentin Monnet wrote: >> 2018-01-15 19:16 UTC+ ~ Roman Gushchin >>> Bpftool doesn't recognize BPF_PROG_TYPE_CGROUP_DEVICE programs, >>> so the prog show command prints the numeric type

Re: [PATCH bpf-next] bpftool: recognize BPF_PROG_TYPE_CGROUP_DEVICE programs

2018-01-15 Thread Daniel Borkmann
On 01/15/2018 08:49 PM, Roman Gushchin wrote: > On Mon, Jan 15, 2018 at 07:32:01PM +, Quentin Monnet wrote: >> 2018-01-15 19:16 UTC+ ~ Roman Gushchin >>> Bpftool doesn't recognize BPF_PROG_TYPE_CGROUP_DEVICE programs, >>> so the prog show command prints the numeric type value: >>> >>> $

Re: [PATCH bpf-next] bpftool: recognize BPF_PROG_TYPE_CGROUP_DEVICE programs

2018-01-15 Thread Roman Gushchin
On Mon, Jan 15, 2018 at 07:32:01PM +, Quentin Monnet wrote: > 2018-01-15 19:16 UTC+ ~ Roman Gushchin > > Bpftool doesn't recognize BPF_PROG_TYPE_CGROUP_DEVICE programs, > > so the prog show command prints the numeric type value: > > > > $ bpftool prog show > > 1: type 15

Re: [PATCH bpf-next] bpftool: recognize BPF_PROG_TYPE_CGROUP_DEVICE programs

2018-01-15 Thread Roman Gushchin
On Mon, Jan 15, 2018 at 07:32:01PM +, Quentin Monnet wrote: > 2018-01-15 19:16 UTC+ ~ Roman Gushchin > > Bpftool doesn't recognize BPF_PROG_TYPE_CGROUP_DEVICE programs, > > so the prog show command prints the numeric type value: > > > > $ bpftool prog show > > 1: type 15 name bpf_prog1

Re: [PATCH bpf-next] bpftool: recognize BPF_PROG_TYPE_CGROUP_DEVICE programs

2018-01-15 Thread Jakub Kicinski
On Mon, 15 Jan 2018 19:16:15 +, Roman Gushchin wrote: > Bpftool doesn't recognize BPF_PROG_TYPE_CGROUP_DEVICE programs, > so the prog show command prints the numeric type value: > > $ bpftool prog show > 1: type 15 name bpf_prog1 tag ac9f93dbfd6d9b74 > loaded_at Jan 15/07:58 uid 0 >

Re: [PATCH bpf-next] bpftool: recognize BPF_PROG_TYPE_CGROUP_DEVICE programs

2018-01-15 Thread Jakub Kicinski
On Mon, 15 Jan 2018 19:16:15 +, Roman Gushchin wrote: > Bpftool doesn't recognize BPF_PROG_TYPE_CGROUP_DEVICE programs, > so the prog show command prints the numeric type value: > > $ bpftool prog show > 1: type 15 name bpf_prog1 tag ac9f93dbfd6d9b74 > loaded_at Jan 15/07:58 uid 0 >

Re: [PATCH bpf-next] bpftool: recognize BPF_PROG_TYPE_CGROUP_DEVICE programs

2018-01-15 Thread Quentin Monnet
2018-01-15 19:16 UTC+ ~ Roman Gushchin > Bpftool doesn't recognize BPF_PROG_TYPE_CGROUP_DEVICE programs, > so the prog show command prints the numeric type value: > > $ bpftool prog show > 1: type 15 name bpf_prog1 tag ac9f93dbfd6d9b74 > loaded_at Jan 15/07:58 uid 0 >

Re: [PATCH bpf-next] bpftool: recognize BPF_PROG_TYPE_CGROUP_DEVICE programs

2018-01-15 Thread Quentin Monnet
2018-01-15 19:16 UTC+ ~ Roman Gushchin > Bpftool doesn't recognize BPF_PROG_TYPE_CGROUP_DEVICE programs, > so the prog show command prints the numeric type value: > > $ bpftool prog show > 1: type 15 name bpf_prog1 tag ac9f93dbfd6d9b74 > loaded_at Jan 15/07:58 uid 0 > xlated

[PATCH bpf-next] bpftool: recognize BPF_PROG_TYPE_CGROUP_DEVICE programs

2018-01-15 Thread Roman Gushchin
Bpftool doesn't recognize BPF_PROG_TYPE_CGROUP_DEVICE programs, so the prog show command prints the numeric type value: $ bpftool prog show 1: type 15 name bpf_prog1 tag ac9f93dbfd6d9b74 loaded_at Jan 15/07:58 uid 0 xlated 96B jited 105B memlock 4096B This patch defines the

[PATCH bpf-next] bpftool: recognize BPF_PROG_TYPE_CGROUP_DEVICE programs

2018-01-15 Thread Roman Gushchin
Bpftool doesn't recognize BPF_PROG_TYPE_CGROUP_DEVICE programs, so the prog show command prints the numeric type value: $ bpftool prog show 1: type 15 name bpf_prog1 tag ac9f93dbfd6d9b74 loaded_at Jan 15/07:58 uid 0 xlated 96B jited 105B memlock 4096B This patch defines the