Lines Matching refs:init_attr
383 struct rdma_ah_init_attr *init_attr, in mthca_ah_create() argument
390 init_attr->ah_attr, ah); in mthca_ah_create()
400 struct ib_srq_init_attr *init_attr, in mthca_create_srq() argument
409 if (init_attr->srq_type != IB_SRQT_BASIC) in mthca_create_srq()
428 &init_attr->attr, srq, udata); in mthca_create_srq()
463 struct ib_qp_init_attr *init_attr, in mthca_create_qp() argument
473 if (init_attr->create_flags) in mthca_create_qp()
476 switch (init_attr->qp_type) { in mthca_create_qp()
509 to_mcq(init_attr->send_cq), in mthca_create_qp()
510 to_mcq(init_attr->recv_cq), in mthca_create_qp()
511 init_attr->qp_type, init_attr->sq_sig_type, in mthca_create_qp()
512 &init_attr->cap, qp, udata); in mthca_create_qp()
531 qp->ibqp.qp_num = init_attr->qp_type == IB_QPT_SMI ? 0 : 1; in mthca_create_qp()
534 to_mcq(init_attr->send_cq), in mthca_create_qp()
535 to_mcq(init_attr->recv_cq), in mthca_create_qp()
536 init_attr->sq_sig_type, &init_attr->cap, in mthca_create_qp()
537 qp->ibqp.qp_num, init_attr->port_num, qp, in mthca_create_qp()
551 init_attr->cap.max_send_wr = qp->sq.max; in mthca_create_qp()
552 init_attr->cap.max_recv_wr = qp->rq.max; in mthca_create_qp()
553 init_attr->cap.max_send_sge = qp->sq.max_gs; in mthca_create_qp()
554 init_attr->cap.max_recv_sge = qp->rq.max_gs; in mthca_create_qp()
555 init_attr->cap.max_inline_data = qp->max_inline_data; in mthca_create_qp()