Lines Matching defs:ibqp
1130 static inline int get_gid_info_from_table(struct ib_qp *ibqp,
2244 struct ib_qp *ibqp;
2279 ibqp = qedr_create_gsi_qp(dev, attrs, qp);
2280 if (IS_ERR(ibqp))
2282 return ibqp;
2293 qp->ibqp.qp_num = qp->qp_id;
2301 return &qp->ibqp;
2468 int qedr_modify_qp(struct ib_qp *ibqp, struct ib_qp_attr *attr,
2471 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);
4077 wc->qp = &qp->ibqp;
4295 wc->qp = &qp->ibqp;
4315 wc->qp = &qp->ibqp;
4352 wc->qp = &qp->ibqp;
4451 wc->qp = &qp->ibqp;