Re: [NET-NEXT PATCH 17/18] net: add netif_napi_del function to allow for removal of napistructs

David Miller
2008-07-06T04:14:43Z

From: Jeff Garzik <jeff@garzik.org>
Date: Fri, 04 Jul 2008 08:42:25 -0400

> Jeff Kirsher wrote:
> > From: Alexander Duyck <alexander.h.duyck@intel.com>
...
> > +/**
> > + * netif_napi_del - remove a napi context
> > + * @napi: napi context
> > + *
> > + * netif_napi_del() removes a napi context from the network device napi list
> > + */
> > +static inline void netif_napi_del(struct napi_struct *napi)
> > +{
> > +#ifdef CONFIG_NETPOLL
> > + list_del(&napi->dev_list);
> > +#endif
> > +}
> > +
>
> David - ACK?
>
> I would prefer to throw this in with the 18-patch igb pile, if that's OK
> with you.

Fine with me.