aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/block/aoe/aoe.h
diff options
context:
space:
mode:
authorecashin@coraid.com <ecashin@coraid.com>2005-04-19 01:00:22 -0400
committerGreg KH <greg@press.kroah.org>2005-04-19 01:00:22 -0400
commita4b38364093bf2094ff858ad45f490521bb87984 (patch)
tree474c8d5acc153eb1736c9a76be0973a32e5995f8 /drivers/block/aoe/aoe.h
parent0c6f0e7920f39b28bdbe5f134f3e592542332d87 (diff)
[PATCH] aoe 12/12: send outgoing packets in order
I can't use list.h, since sk_buff doesn't have a list_head but instead has two struct sk_buff pointers, and I want to avoid any extra memory allocation. send outgoing packets in order Signed-off-by: Ed L. Cashin <ecashin@coraid.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/block/aoe/aoe.h')
-rw-r--r--drivers/block/aoe/aoe.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/block/aoe/aoe.h b/drivers/block/aoe/aoe.h
index 2e92cfb4997c..aa8b547ffafa 100644
--- a/drivers/block/aoe/aoe.h
+++ b/drivers/block/aoe/aoe.h
@@ -131,7 +131,8 @@ struct aoedev {
131 struct timer_list timer; 131 struct timer_list timer;
132 spinlock_t lock; 132 spinlock_t lock;
133 struct net_device *ifp; /* interface ed is attached to */ 133 struct net_device *ifp; /* interface ed is attached to */
134 struct sk_buff *skblist;/* packets needing to be sent */ 134 struct sk_buff *sendq_hd; /* packets needing to be sent, list head */
135 struct sk_buff *sendq_tl;
135 mempool_t *bufpool; /* for deadlock-free Buf allocation */ 136 mempool_t *bufpool; /* for deadlock-free Buf allocation */
136 struct list_head bufq; /* queue of bios to work on */ 137 struct list_head bufq; /* queue of bios to work on */
137 struct buf *inprocess; /* the one we're currently working on */ 138 struct buf *inprocess; /* the one we're currently working on */