Lines Matching defs:ibqp
580 int c4iw_modify_qp(struct ibv_qp *ibqp, struct ibv_qp_attr *attr,
584 struct c4iw_qp *qhp = to_c4iw_qp(ibqp);
587 PDBG("%s enter qp %p new state %d\n", __func__, ibqp, attr_mask & IBV_QP_STATE ? attr->qp_state : -1);
591 ret = ibv_cmd_modify_qp(ibqp, attr, attr_mask, &cmd, sizeof cmd);
598 int c4iw_destroy_qp(struct ibv_qp *ibqp)
601 struct c4iw_qp *qhp = to_c4iw_qp(ibqp);
602 struct c4iw_dev *dev = to_c4iw_dev(ibqp->context->device);
604 PDBG("%s enter qp %p\n", __func__, ibqp);
609 ret = ibv_cmd_destroy_qp(ibqp);
632 int c4iw_query_qp(struct ibv_qp *ibqp, struct ibv_qp_attr *attr,
636 struct c4iw_qp *qhp = to_c4iw_qp(ibqp);
642 ret = ibv_cmd_query_qp(ibqp, attr, attr_mask, init_attr, &cmd, sizeof cmd);
657 int c4iw_attach_mcast(struct ibv_qp *ibqp, const union ibv_gid *gid,
660 struct c4iw_qp *qhp = to_c4iw_qp(ibqp);
666 ret = ibv_cmd_attach_mcast(ibqp, gid, lid);
671 int c4iw_detach_mcast(struct ibv_qp *ibqp, const union ibv_gid *gid,
674 struct c4iw_qp *qhp = to_c4iw_qp(ibqp);
680 ret = ibv_cmd_detach_mcast(ibqp, gid, lid);