Lines Matching refs:base_qp
248 void siw_qp_get_ref(struct ib_qp *base_qp) in siw_qp_get_ref() argument
250 siw_qp_get(to_siw_qp(base_qp)); in siw_qp_get_ref()
253 void siw_qp_put_ref(struct ib_qp *base_qp) in siw_qp_put_ref() argument
255 siw_qp_put(to_siw_qp(base_qp)); in siw_qp_put_ref()
411 qp->base_qp.qp_num); in siw_create_qp()
506 int siw_query_qp(struct ib_qp *base_qp, struct ib_qp_attr *qp_attr, in siw_query_qp() argument
512 if (base_qp && qp_attr && qp_init_attr) { in siw_query_qp()
513 qp = to_siw_qp(base_qp); in siw_query_qp()
514 sdev = to_siw_dev(base_qp->device); in siw_query_qp()
531 qp_init_attr->qp_type = base_qp->qp_type; in siw_query_qp()
532 qp_init_attr->send_cq = base_qp->send_cq; in siw_query_qp()
533 qp_init_attr->recv_cq = base_qp->recv_cq; in siw_query_qp()
534 qp_init_attr->srq = base_qp->srq; in siw_query_qp()
541 int siw_verbs_modify_qp(struct ib_qp *base_qp, struct ib_qp_attr *attr, in siw_verbs_modify_qp() argument
546 struct siw_qp *qp = to_siw_qp(base_qp); in siw_verbs_modify_qp()
590 int siw_destroy_qp(struct ib_qp *base_qp, struct ib_udata *udata) in siw_destroy_qp() argument
592 struct siw_qp *qp = to_siw_qp(base_qp); in siw_destroy_qp()
757 int siw_post_send(struct ib_qp *base_qp, const struct ib_send_wr *wr, in siw_post_send() argument
760 struct siw_qp *qp = to_siw_qp(base_qp); in siw_post_send()
766 if (wr && !rdma_is_kernel_res(&qp->base_qp.res)) { in siw_post_send()
963 if (rdma_is_kernel_res(&qp->base_qp.res)) { in siw_post_send()
997 int siw_post_receive(struct ib_qp *base_qp, const struct ib_recv_wr *wr, in siw_post_receive() argument
1000 struct siw_qp *qp = to_siw_qp(base_qp); in siw_post_receive()
1008 if (!rdma_is_kernel_res(&qp->base_qp.res)) { in siw_post_receive()
1828 struct ib_qp *base_qp = &qp->base_qp; in siw_qp_event() local
1838 event.device = base_qp->device; in siw_qp_event()
1839 event.element.qp = base_qp; in siw_qp_event()
1841 if (base_qp->event_handler) { in siw_qp_event()
1843 base_qp->event_handler(&event, base_qp->qp_context); in siw_qp_event()