Re: [RFC net-next 0/2] Introduce bpf_prog ID and iteration

2017-04-27 Thread Martin KaFai Lau
On Thu, Apr 27, 2017 at 03:36:59PM +0200, Hannes Frederic Sowa wrote: > It would help a lot if you could pass the prog_id back during program > creation, otherwise it will be kind of difficult to get a hold on which > program is where. ;) Thanks for your feedback :). Make sense. I will look into

Re: [RFC net-next 0/2] Introduce bpf_prog ID and iteration

2017-04-27 Thread Hannes Frederic Sowa
On 27.04.2017 08:24, Martin KaFai Lau wrote: > This patchset introduces the bpf_prog ID and a new bpf cmd to > iterate all bpf_prog in the system. > > It is still incomplete. The idea can be extended to bpf_map. > > Martin KaFai Lau (2): > bpf: Introduce bpf_prog ID > bpf: Test for bpf_prog