Lines Matching refs:pd

280 				struct ehca_pd *pd,  in init_qp_queue()  argument
299 ipz_rc = ipz_queue_ctor(pd, queue, nr_q_pages, in init_qp_queue()
304 ipz_rc = ipz_queue_ctor(pd, queue, nr_q_pages, in init_qp_queue()
360 ipz_queue_dtor(pd, queue); in init_qp_queue()
453 struct ib_pd *pd, in internal_create_qp() argument
459 struct ehca_pd *my_pd = container_of(pd, struct ehca_pd, ib_pd); in internal_create_qp()
460 struct ehca_shca *shca = container_of(pd->device, struct ehca_shca, in internal_create_qp()
473 ehca_err(pd->device, "Unable to create QP, max number of %i " in internal_create_qp()
475 ehca_err(pd->device, "To increase the maximum number of QPs " in internal_create_qp()
490 ehca_err(pd->device, "init_attr->sg_sig_type=%x not allowed", in internal_create_qp()
510 ehca_err(pd->device, "UC with SRQ not supported"); in internal_create_qp()
521 ehca_err(pd->device, "LLQPs can't have an SRQ"); in internal_create_qp()
531 ehca_err(pd->device, "no more than three SGEs " in internal_create_qp()
533 pd, init_attr->cap.max_recv_sge); in internal_create_qp()
545 ehca_err(pd->device, "wrong QP Type=%x", qp_type); in internal_create_qp()
555 ehca_err(pd->device, in internal_create_qp()
566 ehca_err(pd->device, "UD LLQP not supported " in internal_create_qp()
575 ehca_err(pd->device, in internal_create_qp()
583 ehca_err(pd->device, in internal_create_qp()
592 ehca_err(pd->device, "unsupported LL QP Type=%x", in internal_create_qp()
603 ehca_err(pd->device, "Invalid number of SGEs requested " in internal_create_qp()
614 ehca_err(pd->device, "pd=%p not enough memory to alloc qp", pd); in internal_create_qp()
619 if (pd->uobject && udata) { in internal_create_qp()
621 context = pd->uobject->context; in internal_create_qp()
651 ehca_err(pd->device, "Invalid number of qp"); in internal_create_qp()
654 ehca_err(pd->device, "Can't allocate new idr entry."); in internal_create_qp()
665 ehca_err(pd->device, "Invalid qp_type=%x", qp_type); in internal_create_qp()
682 parms.pd = my_pd->fw_pd; in internal_create_qp()
710 ehca_err(pd->device, "h_alloc_resource_qp() failed h_ret=%lli", in internal_create_qp()
765 ehca_err(pd->device, "Couldn't initialize squeue " in internal_create_qp()
776 ehca_err(pd->device, "Couldn't allocate squeue " in internal_create_qp()
791 ehca_err(pd->device, "Couldn't initialize rqueue " in internal_create_qp()
801 ehca_err(pd->device, "Couldn't allocate squeue " in internal_create_qp()
818 my_qp->ib_srq.pd = &my_pd->ib_pd; in internal_create_qp()
825 my_qp->ib_qp.pd = &my_pd->ib_pd; in internal_create_qp()
857 ehca_err(pd->device, in internal_create_qp()
881 ehca_err(pd->device, in internal_create_qp()
907 ehca_err(pd->device, "Copy to udata failed"); in internal_create_qp()
951 struct ib_qp *ehca_create_qp(struct ib_pd *pd, in ehca_create_qp() argument
957 ret = internal_create_qp(pd, qp_init_attr, NULL, udata, 0); in ehca_create_qp()
964 struct ib_srq *ehca_create_srq(struct ib_pd *pd, in ehca_create_srq() argument
971 struct ehca_shca *shca = container_of(pd->device, struct ehca_shca, in ehca_create_srq()
990 my_qp = internal_create_qp(pd, &qp_init_attr, srq_init_attr, udata, 1); in ehca_create_srq()
1001 ehca_err(pd->device, "Could not get zeroed page for mqpcb " in ehca_create_srq()
1016 ehca_err(pd->device, "Could not modify SRQ to INIT " in ehca_create_srq()
1030 ehca_err(pd->device, "Could not enable SRQ " in ehca_create_srq()
1044 ehca_err(pd->device, "Could not modify SRQ to RTR " in ehca_create_srq()
1059 internal_destroy_qp(pd->device, my_qp, my_qp->ib_srq.uobject); in ehca_create_srq()
1247 container_of(ibqp->pd->device, struct ehca_shca, ib_device); in internal_modify_qp()
2038 container_of(ibsrq->pd->device, struct ehca_shca, ib_device); in ehca_modify_srq()
2135 struct ehca_pd *my_pd = container_of(my_qp->ib_qp.pd, struct ehca_pd, in internal_destroy_qp()