Thread (23 messages) 23 messages, 3 authors, 2008-07-06

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

From: David Miller <davem@davemloft.net>
Date: 2008-07-06 04:14:43
Also in: lkml

From: Jeff Garzik <redacted>
Date: Fri, 04 Jul 2008 08:42:25 -0400
Jeff Kirsher wrote:
quoted
From: Alexander Duyck <redacted>
 ...
quoted
+/**
+ *  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.

-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help