Lines Matching refs:init_attr
241 struct ib_qp_init_attr init_attr; in iser_create_ib_conn_res() local
265 memset(&init_attr, 0, sizeof(init_attr)); in iser_create_ib_conn_res()
267 init_attr.event_handler = iser_qp_event_callback; in iser_create_ib_conn_res()
268 init_attr.qp_context = (void *)ib_conn; in iser_create_ib_conn_res()
269 init_attr.send_cq = ib_conn->cq; in iser_create_ib_conn_res()
270 init_attr.recv_cq = ib_conn->cq; in iser_create_ib_conn_res()
271 init_attr.cap.max_recv_wr = ISER_QP_MAX_RECV_DTOS; in iser_create_ib_conn_res()
272 init_attr.cap.max_send_sge = 2; in iser_create_ib_conn_res()
273 init_attr.cap.max_recv_sge = 1; in iser_create_ib_conn_res()
274 init_attr.sq_sig_type = IB_SIGNAL_REQ_WR; in iser_create_ib_conn_res()
275 init_attr.qp_type = IB_QPT_RC; in iser_create_ib_conn_res()
276 init_attr.cap.max_send_wr = max_send_wr; in iser_create_ib_conn_res()
278 init_attr.create_flags |= IB_QP_CREATE_INTEGRITY_EN; in iser_create_ib_conn_res()
281 ret = rdma_create_qp(ib_conn->cma_id, device->pd, &init_attr); in iser_create_ib_conn_res()
639 struct ib_qp_init_attr init_attr; in iser_connected_handler() local
646 (void)ib_query_qp(cma_id->qp, &attr, ~0, &init_attr); in iser_connected_handler()