]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/linux/netpoll.h
netpoll retry cleanup
[linux-2.6-omap-h63xx.git] / include / linux / netpoll.h
index 5ade54a78dbbb3a3618d10d5e3d21d5d67a5b2fe..c65d12ec7bb0818241325c603ad0155c41934f47 100644 (file)
@@ -25,12 +25,15 @@ struct netpoll {
 };
 
 struct netpoll_info {
+       atomic_t refcnt;
        spinlock_t poll_lock;
        int poll_owner;
-       int tries;
        int rx_flags;
        spinlock_t rx_lock;
        struct netpoll *rx_np; /* netpoll that registered an rx_hook */
+       struct sk_buff_head arp_tx; /* list of arp requests to reply to */
+       struct sk_buff_head txq;
+       struct work_struct tx_work;
 };
 
 void netpoll_poll(struct netpoll *np);
@@ -86,7 +89,7 @@ static inline void netpoll_poll_unlock(void *have)
 
 #else
 #define netpoll_rx(a) 0
-#define netpoll_poll_lock(a) 0
+#define netpoll_poll_lock(a) NULL
 #define netpoll_poll_unlock(a)
 #endif