Searched refs:cqp_request (Results 1 – 4 of 4) sorted by relevance
432 struct irdma_cqp_request *cqp_request = NULL; in irdma_alloc_and_get_cqp_request() local437 cqp_request = list_first_entry(&cqp->cqp_avail_reqs, in irdma_alloc_and_get_cqp_request()439 list_del_init(&cqp_request->list); in irdma_alloc_and_get_cqp_request()442 if (!cqp_request) { in irdma_alloc_and_get_cqp_request()443 cqp_request = kzalloc(sizeof(*cqp_request), GFP_ATOMIC); in irdma_alloc_and_get_cqp_request()444 if (cqp_request) { in irdma_alloc_and_get_cqp_request()445 cqp_request->dynamic = true; in irdma_alloc_and_get_cqp_request()447 init_waitqueue_head(&cqp_request->waitq); in irdma_alloc_and_get_cqp_request()450 if (!cqp_request) { in irdma_alloc_and_get_cqp_request()455 cqp_request->waiting = wait; in irdma_alloc_and_get_cqp_request()[all …]
2077 struct irdma_cqp_request *cqp_request; in irdma_cqp_ce_handler() local2092 cqp_request = (struct irdma_cqp_request *) in irdma_cqp_ce_handler()2094 if (info.error && irdma_cqp_crit_err(dev, cqp_request->info.cqp_cmd, in irdma_cqp_ce_handler()2099 if (cqp_request) { in irdma_cqp_ce_handler()2100 cqp_request->compl_info.maj_err_code = info.maj_err_code; in irdma_cqp_ce_handler()2101 cqp_request->compl_info.min_err_code = info.min_err_code; in irdma_cqp_ce_handler()2102 cqp_request->compl_info.op_ret_val = info.op_ret_val; in irdma_cqp_ce_handler()2103 cqp_request->compl_info.error = info.error; in irdma_cqp_ce_handler()2105 if (cqp_request->waiting) { in irdma_cqp_ce_handler()2106 WRITE_ONCE(cqp_request->request_done, true); in irdma_cqp_ce_handler()[all …]
231 struct irdma_cqp_request *cqp_request; in irdma_alloc_push_page() local237 cqp_request = irdma_alloc_and_get_cqp_request(&iwdev->rf->cqp, true); in irdma_alloc_push_page()238 if (!cqp_request) in irdma_alloc_push_page()241 cqp_info = &cqp_request->info; in irdma_alloc_push_page()250 cqp_info->in.u.manage_push_page.scratch = (uintptr_t)cqp_request; in irdma_alloc_push_page()252 status = irdma_handle_cqp_op(iwdev->rf, cqp_request); in irdma_alloc_push_page()253 if (!status && cqp_request->compl_info.op_ret_val < in irdma_alloc_push_page()255 qp->push_idx = cqp_request->compl_info.op_ret_val; in irdma_alloc_push_page()259 irdma_put_cqp_request(&iwdev->rf->cqp, cqp_request); in irdma_alloc_push_page()734 struct irdma_cqp_request *cqp_request; in irdma_cqp_create_qp_cmd() local[all …]
161 void (*callback_fcn)(struct irdma_cqp_request *cqp_request);485 struct irdma_cqp_request *cqp_request);487 struct irdma_cqp_request *cqp_request);499 struct irdma_cqp_request *cqp_request);543 void (*callback_fcn)(struct irdma_cqp_request *cqp_request),545 void irdma_gsi_ud_qp_ah_cb(struct irdma_cqp_request *cqp_request);