[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20170621210901.xzzmpbjuboii7v7i@kafai-mba.local>
Date: Wed, 21 Jun 2017 14:09:10 -0700
From: Martin KaFai Lau <kafai@...com>
To: Daniel Borkmann <daniel@...earbox.net>
CC: <davem@...emloft.net>, <john.fastabend@...il.com>,
<netdev@...r.kernel.org>
Subject: Re: [PATCH net-next] bpf: expose prog id for cls_bpf and act_bpf
On Wed, Jun 21, 2017 at 08:16:11PM +0200, Daniel Borkmann wrote:
> In order to be able to retrieve the attached programs from cls_bpf
> and act_bpf, we need to expose the prog ids via netlink so that
> an application can later on get an fd based on the id through the
> BPF_PROG_GET_FD_BY_ID command, and dump related prog info via
> BPF_OBJ_GET_INFO_BY_FD command for bpf(2).
Acked-by: Martin KaFai Lau <kafai@...com>
Powered by blists - more mailing lists