Lines Matching defs:ibqp
1125 static inline int get_gid_info_from_table(struct ib_qp *ibqp,
2259 int qedr_create_qp(struct ib_qp *ibqp, struct ib_qp_init_attr *attrs,
2263 struct ib_pd *ibpd = ibqp->pd;
2265 struct qedr_dev *dev = get_qedr_dev(ibqp->device);
2266 struct qedr_qp *qp = get_qedr_qp(ibqp);
2305 qp->ibqp.qp_num = qp->qp_id;
2465 int qedr_modify_qp(struct ib_qp *ibqp, struct ib_qp_attr *attr,
2468 struct qedr_qp *qp = get_qedr_qp(ibqp);
2491 ibqp->qp_type, attr_mask)) {
2495 attr_mask, qp->qp_id, ibqp->qp_type,
2568 rc = get_gid_info_from_table(ibqp, attr, attr_mask, &qp_params);
2741 int qedr_query_qp(struct ib_qp *ibqp,
2746 struct qedr_qp *qp = get_qedr_qp(ibqp);
2811 int qedr_destroy_qp(struct ib_qp *ibqp, struct ib_udata *udata)
2813 struct qedr_qp *qp = get_qedr_qp(ibqp);
2830 qedr_modify_qp(ibqp, &attr, attr_mask, NULL);
2869 qedr_iw_qp_rem_ref(&qp->ibqp);
3540 static int __qedr_post_send(struct ib_qp *ibqp, const struct ib_send_wr *wr,
3543 struct qedr_dev *dev = get_qedr_dev(ibqp->device);
3544 struct qedr_qp *qp = get_qedr_qp(ibqp);
3755 int qedr_post_send(struct ib_qp *ibqp, const struct ib_send_wr *wr,
3758 struct qedr_dev *dev = get_qedr_dev(ibqp->device);
3759 struct qedr_qp *qp = get_qedr_qp(ibqp);
3766 return qedr_gsi_post_send(ibqp, wr, bad_wr);
3784 rc = __qedr_post_send(ibqp, wr, bad_wr);
3912 int qedr_post_recv(struct ib_qp *ibqp, const struct ib_recv_wr *wr,
3915 struct qedr_qp *qp = get_qedr_qp(ibqp);
3921 return qedr_gsi_post_recv(ibqp, wr, bad_wr);
4071 wc->qp = &qp->ibqp;
4289 wc->qp = &qp->ibqp;
4309 wc->qp = &qp->ibqp;
4346 wc->qp = &qp->ibqp;
4445 wc->qp = &qp->ibqp;