Lines Matching refs:rdma_ctx
117 if (!dev->rdma_ctx) { in qedr_query_device()
120 dev->rdma_ctx); in qedr_query_device()
222 if (!dev->rdma_ctx) { in qedr_query_port()
227 rdma_port = dev->ops->rdma_query_port(dev->rdma_ctx); in qedr_query_port()
287 rc = dev->ops->rdma_add_user(dev->rdma_ctx, &oparams); in qedr_alloc_ucontext()
358 dev->ops->rdma_remove_user(dev->rdma_ctx, ctx->dpi); in qedr_alloc_ucontext()
383 dev->ops->rdma_remove_user(dev->rdma_ctx, entry->dpi); in qedr_mmap_free()
447 if (!dev->rdma_ctx) { in qedr_alloc_pd()
452 rc = dev->ops->rdma_alloc_pd(dev->rdma_ctx, &pd_id); in qedr_alloc_pd()
468 dev->ops->rdma_dealloc_pd(dev->rdma_ctx, pd_id); in qedr_alloc_pd()
485 dev->ops->rdma_dealloc_pd(dev->rdma_ctx, pd->pd_id); in qedr_dealloc_pd()
495 return dev->ops->rdma_alloc_xrcd(dev->rdma_ctx, &xrcd->xrcd_id); in qedr_alloc_xrcd()
503 dev->ops->rdma_dealloc_xrcd(dev->rdma_ctx, xrcd_id); in qedr_dealloc_xrcd()
993 rc = dev->ops->rdma_create_cq(dev->rdma_ctx, ¶ms, &icid); in qedr_create_cq()
1041 dev->ops->rdma_destroy_cq(dev->rdma_ctx, &destroy_iparams, in qedr_create_cq()
1078 dev->ops->rdma_destroy_cq(dev->rdma_ctx, &iparams, &oparams); in qedr_destroy_cq()
1620 rc = dev->ops->rdma_create_srq(dev->rdma_ctx, &in_params, &out_params); in qedr_create_srq()
1643 dev->ops->rdma_destroy_srq(dev->rdma_ctx, &destroy_in_params); in qedr_create_srq()
1662 dev->ops->rdma_destroy_srq(dev->rdma_ctx, &in_params); in qedr_destroy_srq()
1700 rc = dev->ops->rdma_modify_srq(dev->rdma_ctx, &in_params); in qedr_modify_srq()
1912 qp->qed_qp = dev->ops->rdma_create_qp(dev->rdma_ctx, in qedr_create_user_qp()
1975 rc = dev->ops->rdma_destroy_qp(dev->rdma_ctx, qp->qed_qp); in qedr_create_user_qp()
2056 qp->qed_qp = dev->ops->rdma_create_qp(dev->rdma_ctx, in qedr_roce_create_kernel_qp()
2090 qp->qed_qp = dev->ops->rdma_create_qp(dev->rdma_ctx, in qedr_iwarp_create_kernel_qp()
2124 dev->ops->rdma_destroy_qp(dev->rdma_ctx, qp->qed_qp); in qedr_iwarp_create_kernel_qp()
2237 rc = dev->ops->rdma_destroy_qp(dev->rdma_ctx, qp->qed_qp); in qedr_free_qp_resources()
2704 rc = dev->ops->rdma_modify_qp(dev->rdma_ctx, in qedr_modify_qp()
2746 rc = dev->ops->rdma_query_qp(dev->rdma_ctx, qp->qed_qp, ¶ms); in qedr_query_qp()
2981 rc = dev->ops->rdma_alloc_tid(dev->rdma_ctx, &mr->hw_mr.itid); in qedr_reg_user_mr()
3010 rc = dev->ops->rdma_register_tid(dev->rdma_ctx, &mr->hw_mr); in qedr_reg_user_mr()
3026 dev->ops->rdma_free_tid(dev->rdma_ctx, mr->hw_mr.itid); in qedr_reg_user_mr()
3040 rc = dev->ops->rdma_deregister_tid(dev->rdma_ctx, mr->hw_mr.itid); in qedr_dereg_mr()
3044 dev->ops->rdma_free_tid(dev->rdma_ctx, mr->hw_mr.itid); in qedr_dereg_mr()
3080 rc = dev->ops->rdma_alloc_tid(dev->rdma_ctx, &mr->hw_mr.itid); in __qedr_alloc_mr()
3108 rc = dev->ops->rdma_register_tid(dev->rdma_ctx, &mr->hw_mr); in __qedr_alloc_mr()
3121 dev->ops->rdma_free_tid(dev->rdma_ctx, mr->hw_mr.itid); in __qedr_alloc_mr()
3216 rc = dev->ops->rdma_alloc_tid(dev->rdma_ctx, &mr->hw_mr.itid); in qedr_get_dma_mr()
3236 rc = dev->ops->rdma_register_tid(dev->rdma_ctx, &mr->hw_mr); in qedr_get_dma_mr()
3251 dev->ops->rdma_free_tid(dev->rdma_ctx, mr->hw_mr.itid); in qedr_get_dma_mr()