Lines Matching refs:ibqp
59 int ehca_attach_mcast(struct ib_qp *ibqp, union ib_gid *gid, u16 lid) in ehca_attach_mcast() argument
61 struct ehca_qp *my_qp = container_of(ibqp, struct ehca_qp, ib_qp); in ehca_attach_mcast()
62 struct ehca_shca *shca = container_of(ibqp->device, struct ehca_shca, in ehca_attach_mcast()
67 if (ibqp->qp_type != IB_QPT_UD) { in ehca_attach_mcast()
68 ehca_err(ibqp->device, "invalid qp_type=%x", ibqp->qp_type); in ehca_attach_mcast()
73 ehca_err(ibqp->device, "invalid mulitcast gid"); in ehca_attach_mcast()
76 ehca_err(ibqp->device, "invalid mulitcast lid=%x", lid); in ehca_attach_mcast()
89 ehca_err(ibqp->device, in ehca_attach_mcast()
91 "h_ret=%lli", my_qp, ibqp->qp_num, h_ret); in ehca_attach_mcast()
96 int ehca_detach_mcast(struct ib_qp *ibqp, union ib_gid *gid, u16 lid) in ehca_detach_mcast() argument
98 struct ehca_qp *my_qp = container_of(ibqp, struct ehca_qp, ib_qp); in ehca_detach_mcast()
99 struct ehca_shca *shca = container_of(ibqp->pd->device, in ehca_detach_mcast()
104 if (ibqp->qp_type != IB_QPT_UD) { in ehca_detach_mcast()
105 ehca_err(ibqp->device, "invalid qp_type %x", ibqp->qp_type); in ehca_detach_mcast()
110 ehca_err(ibqp->device, "invalid mulitcast gid"); in ehca_detach_mcast()
113 ehca_err(ibqp->device, "invalid mulitcast lid=%x", lid); in ehca_detach_mcast()
126 ehca_err(ibqp->device, in ehca_detach_mcast()
128 "h_ret=%lli", my_qp, ibqp->qp_num, h_ret); in ehca_detach_mcast()