[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20170612230723.0da6c696@cakuba.netronome.com>
Date: Mon, 12 Jun 2017 23:07:23 -0700
From: Jakub Kicinski <kubakici@...pl>
To: Martin KaFai Lau <kafai@...com>
Cc: <netdev@...r.kernel.org>, Alexei Starovoitov <ast@...com>,
Daniel Borkmann <daniel@...earbox.net>, <kernel-team@...com>
Subject: Re: [PATCH net-next 00/10] bpf: xdp: Report bpf_prog ID in IFLA_XDP
On Mon, 12 Jun 2017 22:35:34 -0700, Martin KaFai Lau wrote:
> On Mon, Jun 12, 2017 at 06:26:02PM -0700, Jakub Kicinski wrote:
> > On Mon, 12 Jun 2017 18:00:15 -0700, Martin KaFai Lau wrote:
> > > This is the first usage of the new bpf_prog ID. It is for
> > > reporting the ID of a xdp_prog through netlink.
> > >
> > > It rides on the existing IFLA_XDP. This patch adds IFLA_XDP_PROG_ID
> > > for the bpf_prog ID reporting.
> > >
> > > It starts with changing the generic_xdp first. After that,
> > > the hardware driver is changed one by one. The final patch
> > > removes the prog_attached from 'struct netdev_xdp' because
> > > prog_id > 0 implies the presence of xdp_prog.
> >
> > Daniel made the XDP_ATTACHED an enum to be able to extend it with other
> > modes. I would appreciate if you didn't remove the member since I have
> > this waiting in my tree:
> I see. I will keep prog_attached then.
Thanks!
Powered by blists - more mailing lists