diff options
Diffstat (limited to 'drivers/infiniband/ulp/isert/ib_isert.h')
-rw-r--r-- | drivers/infiniband/ulp/isert/ib_isert.h | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/drivers/infiniband/ulp/isert/ib_isert.h b/drivers/infiniband/ulp/isert/ib_isert.h index 691f90ff2d83..708a069002f3 100644 --- a/drivers/infiniband/ulp/isert/ib_isert.h +++ b/drivers/infiniband/ulp/isert/ib_isert.h | |||
@@ -119,9 +119,9 @@ struct isert_conn { | |||
119 | wait_queue_head_t conn_wait; | 119 | wait_queue_head_t conn_wait; |
120 | wait_queue_head_t conn_wait_comp_err; | 120 | wait_queue_head_t conn_wait_comp_err; |
121 | struct kref conn_kref; | 121 | struct kref conn_kref; |
122 | struct list_head conn_frwr_pool; | 122 | struct list_head conn_fr_pool; |
123 | int conn_frwr_pool_size; | 123 | int conn_fr_pool_size; |
124 | /* lock to protect frwr_pool */ | 124 | /* lock to protect fastreg pool */ |
125 | spinlock_t conn_lock; | 125 | spinlock_t conn_lock; |
126 | #define ISERT_COMP_BATCH_COUNT 8 | 126 | #define ISERT_COMP_BATCH_COUNT 8 |
127 | int conn_comp_batch; | 127 | int conn_comp_batch; |
@@ -139,13 +139,11 @@ struct isert_cq_desc { | |||
139 | }; | 139 | }; |
140 | 140 | ||
141 | struct isert_device { | 141 | struct isert_device { |
142 | int use_frwr; | 142 | int use_fastreg; |
143 | int cqs_used; | 143 | int cqs_used; |
144 | int refcount; | 144 | int refcount; |
145 | int cq_active_qps[ISERT_MAX_CQ]; | 145 | int cq_active_qps[ISERT_MAX_CQ]; |
146 | struct ib_device *ib_device; | 146 | struct ib_device *ib_device; |
147 | struct ib_pd *dev_pd; | ||
148 | struct ib_mr *dev_mr; | ||
149 | struct ib_cq *dev_rx_cq[ISERT_MAX_CQ]; | 147 | struct ib_cq *dev_rx_cq[ISERT_MAX_CQ]; |
150 | struct ib_cq *dev_tx_cq[ISERT_MAX_CQ]; | 148 | struct ib_cq *dev_tx_cq[ISERT_MAX_CQ]; |
151 | struct isert_cq_desc *cq_desc; | 149 | struct isert_cq_desc *cq_desc; |