File tree Expand file tree Collapse file tree 2 files changed +0
-9
lines changed
drivers/infiniband/hw/irdma Expand file tree Collapse file tree 2 files changed +0
-9
lines changed Original file line number Diff line number Diff line change @@ -2544,8 +2544,6 @@ static int irdma_create_cq(struct ib_cq *ibcq,
25442544 goto cq_free_rsrc ;
25452545 }
25462546
2547- iwcq -> iwpbl = iwpbl ;
2548- iwcq -> cq_mem_size = 0 ;
25492547 cqmr = & iwpbl -> cq_mr ;
25502548
25512549 if (rf -> sc_dev .hw_attrs .uk_attrs .feature_flags &
@@ -2560,7 +2558,6 @@ static int irdma_create_cq(struct ib_cq *ibcq,
25602558 err_code = - EPROTO ;
25612559 goto cq_free_rsrc ;
25622560 }
2563- iwcq -> iwpbl_shadow = iwpbl_shadow ;
25642561 cqmr_shadow = & iwpbl_shadow -> cq_mr ;
25652562 info .shadow_area_pa = cqmr_shadow -> cq_pbl .addr ;
25662563 cqmr -> split = true;
Original file line number Diff line number Diff line change @@ -140,21 +140,15 @@ struct irdma_srq {
140140struct irdma_cq {
141141 struct ib_cq ibcq ;
142142 struct irdma_sc_cq sc_cq ;
143- u16 cq_head ;
144- u16 cq_size ;
145143 u16 cq_num ;
146144 bool user_mode ;
147145 atomic_t armed ;
148146 enum irdma_cmpl_notify last_notify ;
149- u32 polled_cmpls ;
150- u32 cq_mem_size ;
151147 struct irdma_dma_mem kmem ;
152148 struct irdma_dma_mem kmem_shadow ;
153149 struct completion free_cq ;
154150 refcount_t refcnt ;
155151 spinlock_t lock ; /* for poll cq */
156- struct irdma_pbl * iwpbl ;
157- struct irdma_pbl * iwpbl_shadow ;
158152 struct list_head resize_list ;
159153 struct irdma_cq_poll_info cur_cqe ;
160154 struct list_head cmpl_generated ;
You can’t perform that action at this time.
0 commit comments