Lines Matching refs:ib_qp
566 struct ib_pd *ib_pd = qp->ib_qp.pd; in bnxt_re_legacy_bind_fence_mw()
1515 int bnxt_re_destroy_qp(struct ib_qp *ib_qp, struct ib_udata *udata) in bnxt_re_destroy_qp() argument
1517 struct bnxt_re_qp *qp = to_bnxt_re(ib_qp, struct bnxt_re_qp, ib_qp); in bnxt_re_destroy_qp()
1538 if (!ib_qp->uobject) { in bnxt_re_destroy_qp()
1545 if (ib_qp->qp_type == IB_QPT_GSI && in bnxt_re_destroy_qp()
1807 ib_pd = gsi_qp->ib_qp.pd; in bnxt_re_update_shadow_ah()
2304 struct ib_qp *bnxt_re_create_qp(struct ib_pd *qp_in, in bnxt_re_create_qp()
2374 qp->ib_qp.qp_num = qp->qplib_qp.id; in bnxt_re_create_qp()
2401 return &qp->ib_qp; in bnxt_re_create_qp()
2565 int bnxt_re_modify_qp(struct ib_qp *ib_qp, struct ib_qp_attr *qp_attr, in bnxt_re_modify_qp() argument
2583 qp = to_bnxt_re(ib_qp, struct bnxt_re_qp, ib_qp); in bnxt_re_modify_qp()
2593 ib_qp->qp_type, qp_attr_mask)) { in bnxt_re_modify_qp()
2597 qp_attr_mask, ib_qp->qp_num, ib_qp->qp_type, in bnxt_re_modify_qp()
2603 __func__, __LINE__, qp_attr_mask, ib_qp->qp_num, in bnxt_re_modify_qp()
2604 ib_qp->qp_type, curr_qp_state, new_qp_state); in bnxt_re_modify_qp()
2833 if (ib_qp->qp_type == IB_QPT_GSI && in bnxt_re_modify_qp()
2844 int bnxt_re_query_qp(struct ib_qp *ib_qp, struct ib_qp_attr *qp_attr, in bnxt_re_query_qp() argument
2847 struct bnxt_re_qp *qp = to_bnxt_re(ib_qp, struct bnxt_re_qp, ib_qp); in bnxt_re_query_qp()
3386 if ((qp->ib_qp.qp_type == IB_QPT_UD || qp->ib_qp.qp_type == IB_QPT_GSI || in bnxt_ud_qp_hw_stall_workaround()
3387 qp->ib_qp.qp_type == IB_QPT_RAW_ETHERTYPE) && in bnxt_ud_qp_hw_stall_workaround()
3394 bnxt_re_modify_qp(&qp->ib_qp, &qp_attr, qp_attr_mask, NULL); in bnxt_ud_qp_hw_stall_workaround()
3453 int bnxt_re_post_send(struct ib_qp *ib_qp, const struct ib_send_wr *wr, in bnxt_re_post_send() argument
3456 struct bnxt_re_qp *qp = to_bnxt_re(ib_qp, struct bnxt_re_qp, ib_qp); in bnxt_re_post_send()
3482 if (ib_qp->qp_type == IB_QPT_GSI && in bnxt_re_post_send()
3489 } else if (ib_qp->qp_type == IB_QPT_RAW_ETHERTYPE) { in bnxt_re_post_send()
3605 int bnxt_re_post_recv(struct ib_qp *ib_qp, const struct ib_recv_wr *wr, in bnxt_re_post_recv() argument
3608 struct bnxt_re_qp *qp = to_bnxt_re(ib_qp, struct bnxt_re_qp, ib_qp); in bnxt_re_post_recv()
3629 if (ib_qp->qp_type == IB_QPT_GSI && in bnxt_re_post_recv()
4503 wc->qp = &gsi_qp->ib_qp; in bnxt_re_process_res_shadow_qp_wc()
4662 wc->qp = &qp->ib_qp; in bnxt_re_poll_cq()