Lines Matching refs:qp_init
2017 struct ib_qp_init_attr *qp_init; in srpt_create_ch_ib() local
2027 qp_init = kzalloc(sizeof *qp_init, GFP_KERNEL); in srpt_create_ch_ib()
2028 if (!qp_init) in srpt_create_ch_ib()
2042 qp_init->qp_context = (void *)ch; in srpt_create_ch_ib()
2043 qp_init->event_handler in srpt_create_ch_ib()
2045 qp_init->send_cq = ch->cq; in srpt_create_ch_ib()
2046 qp_init->recv_cq = ch->cq; in srpt_create_ch_ib()
2047 qp_init->srq = sdev->srq; in srpt_create_ch_ib()
2048 qp_init->sq_sig_type = IB_SIGNAL_REQ_WR; in srpt_create_ch_ib()
2049 qp_init->qp_type = IB_QPT_RC; in srpt_create_ch_ib()
2050 qp_init->cap.max_send_wr = srp_sq_size; in srpt_create_ch_ib()
2051 qp_init->cap.max_send_sge = SRPT_DEF_SG_PER_WQE; in srpt_create_ch_ib()
2053 ch->qp = ib_create_qp(sdev->pd, qp_init); in srpt_create_ch_ib()
2067 atomic_set(&ch->sq_wr_avail, qp_init->cap.max_send_wr); in srpt_create_ch_ib()
2070 __func__, ch->cq->cqe, qp_init->cap.max_send_sge, in srpt_create_ch_ib()
2071 qp_init->cap.max_send_wr, ch->cm_id); in srpt_create_ch_ib()
2090 kfree(qp_init); in srpt_create_ch_ib()