Searched refs:cqp_request (Results 1 – 5 of 5) sorted by relevance
/drivers/infiniband/hw/i40iw/ |
D | i40iw_utils.c | 362 struct i40iw_cqp_request *cqp_request = NULL; in i40iw_get_cqp_request() local 367 cqp_request = list_entry(cqp->cqp_avail_reqs.next, in i40iw_get_cqp_request() 369 list_del_init(&cqp_request->list); in i40iw_get_cqp_request() 372 if (!cqp_request) { in i40iw_get_cqp_request() 373 cqp_request = kzalloc(sizeof(*cqp_request), GFP_ATOMIC); in i40iw_get_cqp_request() 374 if (cqp_request) { in i40iw_get_cqp_request() 375 cqp_request->dynamic = true; in i40iw_get_cqp_request() 376 INIT_LIST_HEAD(&cqp_request->list); in i40iw_get_cqp_request() 377 init_waitqueue_head(&cqp_request->waitq); in i40iw_get_cqp_request() 380 if (!cqp_request) { in i40iw_get_cqp_request() [all …]
|
D | i40iw_hw.c | 124 struct i40iw_cqp_request *cqp_request; in i40iw_cqp_ce_handler() local 135 cqp_request = (struct i40iw_cqp_request *)(unsigned long)info.scratch; in i40iw_cqp_ce_handler() 139 if (cqp_request) { in i40iw_cqp_ce_handler() 140 cqp_request->compl_info.maj_err_code = info.maj_err_code; in i40iw_cqp_ce_handler() 141 cqp_request->compl_info.min_err_code = info.min_err_code; in i40iw_cqp_ce_handler() 142 cqp_request->compl_info.op_ret_val = info.op_ret_val; in i40iw_cqp_ce_handler() 143 cqp_request->compl_info.error = info.error; in i40iw_cqp_ce_handler() 145 if (cqp_request->waiting) { in i40iw_cqp_ce_handler() 146 cqp_request->request_done = true; in i40iw_cqp_ce_handler() 147 wake_up(&cqp_request->waitq); in i40iw_cqp_ce_handler() [all …]
|
D | i40iw_verbs.c | 189 struct i40iw_cqp_request *cqp_request; in i40iw_alloc_push_page() local 196 cqp_request = i40iw_get_cqp_request(&iwdev->cqp, true); in i40iw_alloc_push_page() 197 if (!cqp_request) in i40iw_alloc_push_page() 200 atomic_inc(&cqp_request->refcount); in i40iw_alloc_push_page() 202 cqp_info = &cqp_request->info; in i40iw_alloc_push_page() 209 cqp_info->in.u.manage_push_page.scratch = (uintptr_t)cqp_request; in i40iw_alloc_push_page() 211 status = i40iw_handle_cqp_op(iwdev, cqp_request); in i40iw_alloc_push_page() 213 qp->push_idx = cqp_request->compl_info.op_ret_val; in i40iw_alloc_push_page() 216 i40iw_put_cqp_request(&iwdev->cqp, cqp_request); in i40iw_alloc_push_page() 226 struct i40iw_cqp_request *cqp_request; in i40iw_dealloc_push_page() local [all …]
|
D | i40iw_main.c | 1043 struct i40iw_cqp_request *cqp_request; in i40iw_del_macip_entry() local 1047 cqp_request = i40iw_get_cqp_request(iwcqp, true); in i40iw_del_macip_entry() 1048 if (!cqp_request) { in i40iw_del_macip_entry() 1052 cqp_info = &cqp_request->info; in i40iw_del_macip_entry() 1056 cqp_info->in.u.del_local_mac_ipaddr_entry.scratch = (uintptr_t)cqp_request; in i40iw_del_macip_entry() 1059 status = i40iw_handle_cqp_op(iwdev, cqp_request); in i40iw_del_macip_entry() 1076 struct i40iw_cqp_request *cqp_request; in i40iw_add_mac_ipaddr_entry() local 1080 cqp_request = i40iw_get_cqp_request(iwcqp, true); in i40iw_add_mac_ipaddr_entry() 1081 if (!cqp_request) { in i40iw_add_mac_ipaddr_entry() 1086 cqp_info = &cqp_request->info; in i40iw_add_mac_ipaddr_entry() [all …]
|
D | i40iw.h | 224 struct i40iw_cqp_request *cqp_request; member 429 void i40iw_free_cqp_request(struct i40iw_cqp *cqp, struct i40iw_cqp_request *cqp_request); 430 void i40iw_put_cqp_request(struct i40iw_cqp *cqp, struct i40iw_cqp_request *cqp_request); 531 struct i40iw_cqp_request *cqp_request);
|