Searched refs:cqp_request (Results 1 – 5 of 5) sorted by relevance
/Linux-v5.4/drivers/infiniband/hw/i40iw/ |
D | i40iw_utils.c | 364 struct i40iw_cqp_request *cqp_request = NULL; in i40iw_get_cqp_request() local 369 cqp_request = list_entry(cqp->cqp_avail_reqs.next, in i40iw_get_cqp_request() 371 list_del_init(&cqp_request->list); in i40iw_get_cqp_request() 374 if (!cqp_request) { in i40iw_get_cqp_request() 375 cqp_request = kzalloc(sizeof(*cqp_request), GFP_ATOMIC); in i40iw_get_cqp_request() 376 if (cqp_request) { in i40iw_get_cqp_request() 377 cqp_request->dynamic = true; in i40iw_get_cqp_request() 378 INIT_LIST_HEAD(&cqp_request->list); in i40iw_get_cqp_request() 379 init_waitqueue_head(&cqp_request->waitq); in i40iw_get_cqp_request() 382 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 | 215 struct i40iw_cqp_request *cqp_request; in i40iw_alloc_push_page() local 222 cqp_request = i40iw_get_cqp_request(&iwdev->cqp, true); in i40iw_alloc_push_page() 223 if (!cqp_request) in i40iw_alloc_push_page() 226 atomic_inc(&cqp_request->refcount); in i40iw_alloc_push_page() 228 cqp_info = &cqp_request->info; in i40iw_alloc_push_page() 235 cqp_info->in.u.manage_push_page.scratch = (uintptr_t)cqp_request; in i40iw_alloc_push_page() 237 status = i40iw_handle_cqp_op(iwdev, cqp_request); in i40iw_alloc_push_page() 239 qp->push_idx = cqp_request->compl_info.op_ret_val; in i40iw_alloc_push_page() 242 i40iw_put_cqp_request(&iwdev->cqp, cqp_request); in i40iw_alloc_push_page() 252 struct i40iw_cqp_request *cqp_request; in i40iw_dealloc_push_page() local [all …]
|
D | i40iw_main.c | 1047 struct i40iw_cqp_request *cqp_request; in i40iw_del_macip_entry() local 1051 cqp_request = i40iw_get_cqp_request(iwcqp, true); in i40iw_del_macip_entry() 1052 if (!cqp_request) { in i40iw_del_macip_entry() 1056 cqp_info = &cqp_request->info; in i40iw_del_macip_entry() 1060 cqp_info->in.u.del_local_mac_ipaddr_entry.scratch = (uintptr_t)cqp_request; in i40iw_del_macip_entry() 1063 status = i40iw_handle_cqp_op(iwdev, cqp_request); in i40iw_del_macip_entry() 1080 struct i40iw_cqp_request *cqp_request; in i40iw_add_mac_ipaddr_entry() local 1084 cqp_request = i40iw_get_cqp_request(iwcqp, true); in i40iw_add_mac_ipaddr_entry() 1085 if (!cqp_request) { in i40iw_add_mac_ipaddr_entry() 1090 cqp_info = &cqp_request->info; in i40iw_add_mac_ipaddr_entry() [all …]
|
D | i40iw.h | 224 struct i40iw_cqp_request *cqp_request; member 419 void i40iw_free_cqp_request(struct i40iw_cqp *cqp, struct i40iw_cqp_request *cqp_request); 420 void i40iw_put_cqp_request(struct i40iw_cqp *cqp, struct i40iw_cqp_request *cqp_request); 521 struct i40iw_cqp_request *cqp_request);
|