Searched refs:sc_qp (Results 1 – 11 of 11) sorted by relevance
/linux-6.12.1/net/sunrpc/xprtrdma/ |
D | svc_rdma_transport.c | 515 newxprt->sc_qp = newxprt->sc_cm_id->qp; in svc_rdma_accept() 575 if (newxprt->sc_qp && !IS_ERR(newxprt->sc_qp)) in svc_rdma_accept() 576 ib_destroy_qp(newxprt->sc_qp); in svc_rdma_accept() 598 if (rdma->sc_qp && !IS_ERR(rdma->sc_qp)) in __svc_rdma_free() 599 ib_drain_qp(rdma->sc_qp); in __svc_rdma_free() 609 if (rdma->sc_qp && !IS_ERR(rdma->sc_qp)) in __svc_rdma_free() 610 ib_destroy_qp(rdma->sc_qp); in __svc_rdma_free()
|
D | svc_rdma_rw.c | 138 ret = rdma_rw_ctx_init(&ctxt->rw_ctx, rdma->sc_qp, rdma->sc_port_num, in svc_rdma_rw_ctx_init() 186 rdma_rw_ctx_destroy(&ctxt->rw_ctx, rdma->sc_qp, in svc_rdma_cc_release() 382 first_wr = rdma_rw_ctx_wrs(&ctxt->rw_ctx, rdma->sc_qp, in svc_rdma_post_chunk_ctxt() 391 ret = ib_post_send(rdma->sc_qp, first_wr, &bad_wr); in svc_rdma_post_chunk_ctxt() 708 first_wr = rdma_rw_ctx_wrs(&rwc->rw_ctx, rdma->sc_qp, in svc_rdma_prepare_reply_chunk()
|
D | svc_rdma_recvfrom.c | 276 ret = ib_post_recv(rdma->sc_qp, recv_chain, &bad_wr); in svc_rdma_refresh_recvs()
|
D | svc_rdma_sendto.c | 375 ret = ib_post_send(rdma->sc_qp, first_wr, &bad_wr); in svc_rdma_post_send()
|
/linux-6.12.1/drivers/infiniband/hw/irdma/ |
D | verbs.c | 234 struct irdma_sc_qp *qp = &iwqp->sc_qp; in irdma_alloc_push_page() 463 irdma_uk_clean_cq(&iwqp->sc_qp.qp_uk, ukcq); in irdma_clean_cqes() 492 bar_off += rsvd + iwqp->sc_qp.push_idx * IRDMA_HW_PAGE_SIZE; in irdma_setup_push_mmap_entries() 522 iwqp->sc_qp.qp_uk.destroy_pending = true; in irdma_destroy_qp() 525 irdma_modify_qp_to_err(&iwqp->sc_qp); in irdma_destroy_qp() 541 irdma_cqp_qp_destroy_cmd(&iwdev->rf->sc_dev, &iwqp->sc_qp); in irdma_destroy_qp() 752 cqp_info->in.u.qp_create.qp = &iwqp->sc_qp; in irdma_cqp_create_qp_cmd() 797 irdma_sc_qp_setctx_roce(&iwqp->sc_qp, iwqp->host_ctx.va, ctx_info); in irdma_roce_fill_and_set_qpctx_info() 826 irdma_sc_qp_setctx(&iwqp->sc_qp, iwqp->host_ctx.va, ctx_info); in irdma_iw_fill_and_set_qpctx_info() 909 qp = &iwqp->sc_qp; in irdma_create_qp() [all …]
|
D | utils.c | 937 struct irdma_sc_qp *qp = &iwqp->sc_qp; in irdma_terminate_timeout() 1149 irdma_ieq_cleanup_qp(iwdev->vsi.ieq, &iwqp->sc_qp); in irdma_free_qp_rsrc() 1150 irdma_dealloc_push_page(rf, &iwqp->sc_qp); in irdma_free_qp_rsrc() 1151 if (iwqp->sc_qp.vsi) { in irdma_free_qp_rsrc() 1152 irdma_qp_rem_qos(&iwqp->sc_qp); in irdma_free_qp_rsrc() 1153 iwqp->sc_qp.dev->ws_remove(iwqp->sc_qp.vsi, in irdma_free_qp_rsrc() 1154 iwqp->sc_qp.user_pri); in irdma_free_qp_rsrc() 1237 cqp_info->in.u.qp_modify.qp = &iwqp->sc_qp; in irdma_hw_modify_qp() 1255 iwqp->sc_qp.term_flags = IRDMA_TERM_DONE; in irdma_hw_modify_qp() 1259 irdma_gen_ae(rf, &iwqp->sc_qp, &ae_info, false); in irdma_hw_modify_qp() [all …]
|
D | cm.c | 3429 irdma_sc_qp_setctx(&iwqp->sc_qp, iwqp->host_ctx.va, ctx_info); in irdma_cm_init_tsa_conn() 3489 struct irdma_sc_qp *qp = &iwqp->sc_qp; in irdma_cm_disconn_true() 3505 if (iwqp->flush_issued || iwqp->sc_qp.qp_uk.destroy_pending) { in irdma_cm_disconn_true() 3555 if (issue_flush && !iwqp->sc_qp.qp_uk.destroy_pending) { in irdma_cm_disconn_true() 3702 if (cm_node->dev->ws_add(iwqp->sc_qp.vsi, cm_node->user_pri)) { in irdma_accept() 3706 iwqp->sc_qp.user_pri = cm_node->user_pri; in irdma_accept() 3707 irdma_qp_add_qos(&iwqp->sc_qp); in irdma_accept() 3722 iwqp->sc_qp.qp_uk.sq_base = kmap_local_page(iwqp->page); in irdma_accept() 3725 irdma_sc_send_lsmm(&iwqp->sc_qp, iwqp->ietf_mem.va, cm_node->lsmm_size, in irdma_accept() 3729 kunmap_local(iwqp->sc_qp.qp_uk.sq_base); in irdma_accept() [all …]
|
D | protos.h | 76 void irdma_modify_qp_to_err(struct irdma_sc_qp *sc_qp);
|
D | hw.c | 262 qp = &iwqp->sc_qp; in irdma_process_aeq() 400 irdma_sc_qp_setctx_roce(&iwqp->sc_qp, iwqp->host_ctx.va, in irdma_process_aeq() 412 irdma_sc_qp_setctx(&iwqp->sc_qp, iwqp->host_ctx.va, in irdma_process_aeq() 2183 if (iwqp->sc_qp.term_flags && state == IRDMA_QP_STATE_ERROR) in irdma_next_iw_state() 2721 u8 flush_code = iwqp->sc_qp.flush_code; in irdma_flush_wqes() 2739 iwqp->sc_qp.flush_sq = false; in irdma_flush_wqes() 2741 iwqp->sc_qp.flush_rq = false; in irdma_flush_wqes() 2744 if (info.sq && iwqp->sc_qp.sq_flush_code) in irdma_flush_wqes() 2746 if (info.rq && iwqp->sc_qp.rq_flush_code) in irdma_flush_wqes() 2756 (void)irdma_hw_flush_wqes(rf, &iwqp->sc_qp, &info, in irdma_flush_wqes()
|
D | verbs.h | 158 struct irdma_sc_qp sc_qp; member
|
/linux-6.12.1/include/linux/sunrpc/ |
D | svc_rdma.h | 105 struct ib_qp *sc_qp; member
|