diff options
author | Stephen Hemminger <shemminger@osdl.org> | 2006-10-26 15:46:51 -0700 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-12-02 21:22:33 -0800 |
commit | b6cd27ed33886a5ffaf0925a6d98e13e18e8a1af (patch) | |
tree | 9657515409d89b8b43134e0a29f7c3730901277c /include/linux/netpoll.h | |
parent | 93ec2c723e3f8a216dde2899aeb85c648672bc6b (diff) | |
download | op-kernel-dev-b6cd27ed33886a5ffaf0925a6d98e13e18e8a1af.zip op-kernel-dev-b6cd27ed33886a5ffaf0925a6d98e13e18e8a1af.tar.gz |
netpoll per device txq
When the netpoll beast got really busy, it tended to clog
things, so it stored them for later. But the beast was putting
all it's skb's in one basket. This was bad because maybe some
pipes were clogged and others were not.
Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
Diffstat (limited to 'include/linux/netpoll.h')
-rw-r--r-- | include/linux/netpoll.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/netpoll.h b/include/linux/netpoll.h index 39845fc..93a8b76 100644 --- a/include/linux/netpoll.h +++ b/include/linux/netpoll.h @@ -33,6 +33,8 @@ struct netpoll_info { 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); |