Re: [PATCH net-next 0/8] Introduce bpf ID

2017-05-31 Thread David Miller
From: Martin KaFai Lau Date: Tue, 30 May 2017 17:08:29 -0700 > This patch series: > 1) Introduce ID for both bpf_prog and bpf_map. > 2) Add bpf commands to iterate the prog IDs and map >IDs of the system. > 3) Add bpf commands to get a prog/map fd from an ID > 4) Add bpf

Re: [PATCH net-next 0/8] Introduce bpf ID

2017-05-30 Thread Martin KaFai Lau
On Tue, May 30, 2017 at 06:35:37PM -0600, David Ahern wrote: > On 5/30/17 6:08 PM, Martin KaFai Lau wrote: > > This patch series: > > 1) Introduce ID for both bpf_prog and bpf_map. > > 2) Add bpf commands to iterate the prog IDs and map > >IDs of the system. > > 3) Add bpf commands to get a

Re: [PATCH net-next 0/8] Introduce bpf ID

2017-05-30 Thread David Ahern
On 5/30/17 6:08 PM, Martin KaFai Lau wrote: > This patch series: > 1) Introduce ID for both bpf_prog and bpf_map. > 2) Add bpf commands to iterate the prog IDs and map >IDs of the system. > 3) Add bpf commands to get a prog/map fd from an ID > 4) Add bpf command to get prog/map info from a fd.

[PATCH net-next 0/8] Introduce bpf ID

2017-05-30 Thread Martin KaFai Lau
This patch series: 1) Introduce ID for both bpf_prog and bpf_map. 2) Add bpf commands to iterate the prog IDs and map IDs of the system. 3) Add bpf commands to get a prog/map fd from an ID 4) Add bpf command to get prog/map info from a fd. The prog/map info is a jump start in this patchset