diff options
Diffstat (limited to 'drivers/block/aoe/aoe.h')
-rw-r--r-- | drivers/block/aoe/aoe.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/block/aoe/aoe.h b/drivers/block/aoe/aoe.h index 2248ab226576..67ef4d755e64 100644 --- a/drivers/block/aoe/aoe.h +++ b/drivers/block/aoe/aoe.h | |||
@@ -89,6 +89,7 @@ enum { | |||
89 | MIN_BUFS = 16, | 89 | MIN_BUFS = 16, |
90 | NTARGETS = 8, | 90 | NTARGETS = 8, |
91 | NAOEIFS = 8, | 91 | NAOEIFS = 8, |
92 | NSKBPOOLMAX = 128, | ||
92 | 93 | ||
93 | TIMERTICK = HZ / 10, | 94 | TIMERTICK = HZ / 10, |
94 | MINTIMER = HZ >> 2, | 95 | MINTIMER = HZ >> 2, |
@@ -138,6 +139,7 @@ struct aoetgt { | |||
138 | u16 useme; | 139 | u16 useme; |
139 | ulong lastwadj; /* last window adjustment */ | 140 | ulong lastwadj; /* last window adjustment */ |
140 | int wpkts, rpkts; | 141 | int wpkts, rpkts; |
142 | int dataref; | ||
141 | }; | 143 | }; |
142 | 144 | ||
143 | struct aoedev { | 145 | struct aoedev { |
@@ -159,6 +161,9 @@ struct aoedev { | |||
159 | spinlock_t lock; | 161 | spinlock_t lock; |
160 | struct sk_buff *sendq_hd; /* packets needing to be sent, list head */ | 162 | struct sk_buff *sendq_hd; /* packets needing to be sent, list head */ |
161 | struct sk_buff *sendq_tl; | 163 | struct sk_buff *sendq_tl; |
164 | struct sk_buff *skbpool_hd; | ||
165 | struct sk_buff *skbpool_tl; | ||
166 | int nskbpool; | ||
162 | mempool_t *bufpool; /* for deadlock-free Buf allocation */ | 167 | mempool_t *bufpool; /* for deadlock-free Buf allocation */ |
163 | struct list_head bufq; /* queue of bios to work on */ | 168 | struct list_head bufq; /* queue of bios to work on */ |
164 | struct buf *inprocess; /* the one we're currently working on */ | 169 | struct buf *inprocess; /* the one we're currently working on */ |