Lines Matching refs:cqp_request
260 struct irdma_cqp_request *cqp_request; in irdma_alloc_push_page() local
266 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()
686 struct irdma_cqp_request *cqp_request; in irdma_cqp_create_qp_cmd() local
691 cqp_request = irdma_alloc_and_get_cqp_request(&rf->cqp, true); in irdma_cqp_create_qp_cmd()
692 if (!cqp_request) in irdma_cqp_create_qp_cmd()
695 cqp_info = &cqp_request->info; in irdma_cqp_create_qp_cmd()
696 qp_info = &cqp_request->info.in.u.qp_create.info; in irdma_cqp_create_qp_cmd()
705 cqp_info->in.u.qp_create.scratch = (uintptr_t)cqp_request; in irdma_cqp_create_qp_cmd()
706 status = irdma_handle_cqp_op(rf, cqp_request); in irdma_cqp_create_qp_cmd()
707 irdma_put_cqp_request(&rf->cqp, cqp_request); in irdma_cqp_create_qp_cmd()
1837 struct irdma_cqp_request *cqp_request; in irdma_resize_cq() local
1925 cqp_request = irdma_alloc_and_get_cqp_request(&rf->cqp, true); in irdma_resize_cq()
1926 if (!cqp_request) { in irdma_resize_cq()
1934 cqp_info = &cqp_request->info; in irdma_resize_cq()
1940 cqp_info->in.u.cq_modify.scratch = (uintptr_t)cqp_request; in irdma_resize_cq()
1942 ret = irdma_handle_cqp_op(rf, cqp_request); in irdma_resize_cq()
1943 irdma_put_cqp_request(&rf->cqp, cqp_request); in irdma_resize_cq()
2002 struct irdma_cqp_request *cqp_request; in irdma_create_cq() local
2145 cqp_request = irdma_alloc_and_get_cqp_request(&rf->cqp, true); in irdma_create_cq()
2146 if (!cqp_request) { in irdma_create_cq()
2151 cqp_info = &cqp_request->info; in irdma_create_cq()
2156 cqp_info->in.u.cq_create.scratch = (uintptr_t)cqp_request; in irdma_create_cq()
2157 err_code = irdma_handle_cqp_op(rf, cqp_request); in irdma_create_cq()
2158 irdma_put_cqp_request(&rf->cqp, cqp_request); in irdma_create_cq()
2492 struct irdma_cqp_request *cqp_request; in irdma_hw_alloc_mw() local
2496 cqp_request = irdma_alloc_and_get_cqp_request(&iwdev->rf->cqp, true); in irdma_hw_alloc_mw()
2497 if (!cqp_request) in irdma_hw_alloc_mw()
2500 cqp_info = &cqp_request->info; in irdma_hw_alloc_mw()
2513 cqp_info->in.u.mw_alloc.scratch = (uintptr_t)cqp_request; in irdma_hw_alloc_mw()
2514 status = irdma_handle_cqp_op(iwdev->rf, cqp_request); in irdma_hw_alloc_mw()
2515 irdma_put_cqp_request(&iwdev->rf->cqp, cqp_request); in irdma_hw_alloc_mw()
2558 struct irdma_cqp_request *cqp_request; in irdma_dealloc_mw() local
2562 cqp_request = irdma_alloc_and_get_cqp_request(&iwdev->rf->cqp, true); in irdma_dealloc_mw()
2563 if (!cqp_request) in irdma_dealloc_mw()
2566 cqp_info = &cqp_request->info; in irdma_dealloc_mw()
2575 cqp_info->in.u.dealloc_stag.scratch = (uintptr_t)cqp_request; in irdma_dealloc_mw()
2576 irdma_handle_cqp_op(iwdev->rf, cqp_request); in irdma_dealloc_mw()
2577 irdma_put_cqp_request(&iwdev->rf->cqp, cqp_request); in irdma_dealloc_mw()
2594 struct irdma_cqp_request *cqp_request; in irdma_hw_alloc_stag() local
2597 cqp_request = irdma_alloc_and_get_cqp_request(&iwdev->rf->cqp, true); in irdma_hw_alloc_stag()
2598 if (!cqp_request) in irdma_hw_alloc_stag()
2601 cqp_info = &cqp_request->info; in irdma_hw_alloc_stag()
2612 cqp_info->in.u.alloc_stag.scratch = (uintptr_t)cqp_request; in irdma_hw_alloc_stag()
2613 status = irdma_handle_cqp_op(iwdev->rf, cqp_request); in irdma_hw_alloc_stag()
2614 irdma_put_cqp_request(&iwdev->rf->cqp, cqp_request); in irdma_hw_alloc_stag()
2736 struct irdma_cqp_request *cqp_request; in irdma_hwreg_mr() local
2740 cqp_request = irdma_alloc_and_get_cqp_request(&iwdev->rf->cqp, true); in irdma_hwreg_mr()
2741 if (!cqp_request) in irdma_hwreg_mr()
2744 cqp_info = &cqp_request->info; in irdma_hwreg_mr()
2774 cqp_info->in.u.mr_reg_non_shared.scratch = (uintptr_t)cqp_request; in irdma_hwreg_mr()
2775 ret = irdma_handle_cqp_op(iwdev->rf, cqp_request); in irdma_hwreg_mr()
2776 irdma_put_cqp_request(&iwdev->rf->cqp, cqp_request); in irdma_hwreg_mr()
3062 struct irdma_cqp_request *cqp_request; in irdma_dereg_mr() local
3078 cqp_request = irdma_alloc_and_get_cqp_request(&iwdev->rf->cqp, true); in irdma_dereg_mr()
3079 if (!cqp_request) in irdma_dereg_mr()
3082 cqp_info = &cqp_request->info; in irdma_dereg_mr()
3094 cqp_info->in.u.dealloc_stag.scratch = (uintptr_t)cqp_request; in irdma_dereg_mr()
3095 status = irdma_handle_cqp_op(iwdev->rf, cqp_request); in irdma_dereg_mr()
3096 irdma_put_cqp_request(&iwdev->rf->cqp, cqp_request); in irdma_dereg_mr()
3891 struct irdma_cqp_request *cqp_request; in irdma_mcast_cqp_op() local
3894 cqp_request = irdma_alloc_and_get_cqp_request(&iwdev->rf->cqp, true); in irdma_mcast_cqp_op()
3895 if (!cqp_request) in irdma_mcast_cqp_op()
3898 cqp_request->info.in.u.mc_create.info = *mc_grp_ctx; in irdma_mcast_cqp_op()
3899 cqp_info = &cqp_request->info; in irdma_mcast_cqp_op()
3902 cqp_info->in.u.mc_create.scratch = (uintptr_t)cqp_request; in irdma_mcast_cqp_op()
3904 status = irdma_handle_cqp_op(iwdev->rf, cqp_request); in irdma_mcast_cqp_op()
3905 irdma_put_cqp_request(&iwdev->rf->cqp, cqp_request); in irdma_mcast_cqp_op()