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!

Reply via email to