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 …]
2032 struct irdma_cqp_request *cqp_request; in irdma_cqp_ce_handler() local2047 cqp_request = (struct irdma_cqp_request *) in irdma_cqp_ce_handler()2049 if (info.error && irdma_cqp_crit_err(dev, cqp_request->info.cqp_cmd, in irdma_cqp_ce_handler()2054 if (cqp_request) { in irdma_cqp_ce_handler()2055 cqp_request->compl_info.maj_err_code = info.maj_err_code; in irdma_cqp_ce_handler()2056 cqp_request->compl_info.min_err_code = info.min_err_code; in irdma_cqp_ce_handler()2057 cqp_request->compl_info.op_ret_val = info.op_ret_val; in irdma_cqp_ce_handler()2058 cqp_request->compl_info.error = info.error; in irdma_cqp_ce_handler()2060 if (cqp_request->waiting) { in irdma_cqp_ce_handler()2061 cqp_request->request_done = true; in irdma_cqp_ce_handler()[all …]
260 struct irdma_cqp_request *cqp_request; in irdma_alloc_push_page() local266 cqp_request = irdma_alloc_and_get_cqp_request(&iwdev->rf->cqp, true); in irdma_alloc_push_page()267 if (!cqp_request) in irdma_alloc_push_page()270 cqp_info = &cqp_request->info; in irdma_alloc_push_page()279 cqp_info->in.u.manage_push_page.scratch = (uintptr_t)cqp_request; in irdma_alloc_push_page()281 status = irdma_handle_cqp_op(iwdev->rf, cqp_request); in irdma_alloc_push_page()282 if (!status && cqp_request->compl_info.op_ret_val < in irdma_alloc_push_page()284 qp->push_idx = cqp_request->compl_info.op_ret_val; in irdma_alloc_push_page()288 irdma_put_cqp_request(&iwdev->rf->cqp, cqp_request); in irdma_alloc_push_page()676 struct irdma_cqp_request *cqp_request; in irdma_cqp_create_qp_cmd() local[all …]
159 void (*callback_fcn)(struct irdma_cqp_request *cqp_request);480 struct irdma_cqp_request *cqp_request);482 struct irdma_cqp_request *cqp_request);494 struct irdma_cqp_request *cqp_request);536 void (*callback_fcn)(struct irdma_cqp_request *cqp_request),538 void irdma_gsi_ud_qp_ah_cb(struct irdma_cqp_request *cqp_request);