diff options
Diffstat (limited to 'drivers/infiniband/ulp/ipoib/ipoib.h')
-rw-r--r-- | drivers/infiniband/ulp/ipoib/ipoib.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/drivers/infiniband/ulp/ipoib/ipoib.h b/drivers/infiniband/ulp/ipoib/ipoib.h index a89b9fbe1ef4..0281c8fecc90 100644 --- a/drivers/infiniband/ulp/ipoib/ipoib.h +++ b/drivers/infiniband/ulp/ipoib/ipoib.h | |||
@@ -157,6 +157,11 @@ struct ipoib_tx_buf { | |||
157 | u64 mapping[MAX_SKB_FRAGS + 1]; | 157 | u64 mapping[MAX_SKB_FRAGS + 1]; |
158 | }; | 158 | }; |
159 | 159 | ||
160 | struct ipoib_cm_tx_buf { | ||
161 | struct sk_buff *skb; | ||
162 | u64 mapping; | ||
163 | }; | ||
164 | |||
160 | struct ib_cm_id; | 165 | struct ib_cm_id; |
161 | 166 | ||
162 | struct ipoib_cm_data { | 167 | struct ipoib_cm_data { |
@@ -215,7 +220,7 @@ struct ipoib_cm_tx { | |||
215 | struct net_device *dev; | 220 | struct net_device *dev; |
216 | struct ipoib_neigh *neigh; | 221 | struct ipoib_neigh *neigh; |
217 | struct ipoib_path *path; | 222 | struct ipoib_path *path; |
218 | struct ipoib_tx_buf *tx_ring; | 223 | struct ipoib_cm_tx_buf *tx_ring; |
219 | unsigned tx_head; | 224 | unsigned tx_head; |
220 | unsigned tx_tail; | 225 | unsigned tx_tail; |
221 | unsigned long flags; | 226 | unsigned long flags; |